does gcc work with -lc_s?

Ken Chapin ken at uport.UUCP
Fri Nov 4 02:19:57 AEST 1988


In article <30 at calcite.UUCP> vjs at 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.



More information about the Comp.unix.microport mailing list