Path: utzoo!utgpu!attcan!uunet!uport!ken From: ken@uport.UUCP (Ken Chapin) Newsgroups: comp.unix.microport Subject: Re: does gcc work with -lc_s? Keywords: Microport3.0e greenhills shared_libc Message-ID: <254@uport.UUCP> Date: 3 Nov 88 16:19:57 GMT References: <30@calcite.UUCP> Reply-To: ken@uport.UUCP (Ken Chapin) Organization: Microport Systems, Scotts Valley, CA Lines: 13 In article <30@calcite.UUCP> vjs@calcite.UUCP (Vernon Schryver) writes: !> gcc {,-g,-ga} {-OLM,} foo.c -lcurses -lc_s -o foo !>produces a bad program. After some trivial ioctl(TCSETA)'s, it calls !>initscr(3X), which seems to call an internal routine (or something !>sdb can't name), and then suffers a "Segmentation Violation". Compiling !>without '-lc_s' or with 'cc' instead of 'gcc' produces something which !>works fine. (Of course, the code is quite portable and passes lint.) !> !>Does the gcc in Microport 3.0e understand shared libraries? We think that Gcc doesn't know about shared libraries and are working on it with Green Hills.