shlib and curses on unix pc

Bob Mitchell kid at june.cs.washington.edu
Sun Jun 26 03:01:47 AEST 1988


Actually, you can use the shared library with curses.  But first you have
to create a new ifile by editting the tam functions out of
/lib/shlibc.ifile.  This will give you access to only the termlib and c
library parts of shlib.  You can then link using:

		ld *.o /lib/crt0s.o -lcurses shcterm.ifile

where shcterm.ifile is the name of the new ifile.  Linking will give
warnings about redefining PC, UP, BC, and ospeed - but this is fine, as
long as the program does not use non-zero initializers for them.

				Bob Mitchell

uucp: ...!uw-beaver!uw-june!kid
arpanet: kid at cs.washington.edu



More information about the Unix-pc.general mailing list