ld front end
Andy Fyfe
andy at cit-vax.Caltech.Edu
Fri Mar 17 07:17:07 AEST 1989
John MacMillan brought us "shcc" which makes shared binaries. It does
not simply add "/lib/shlib.ifile" to the ld pass -- it makes 2 ld passes
and only takes what it needs from the system ifile (avoiding the frequent
name conflicts). The only problem with shcc is that it's a shared "cc",
not a shared "gcc". Gcc does have a "-shlib" option, but it simply alters
the ld command. My program is a front end to ld that will make the same
two-pass load that shcc would do. If installed as /usr/local/lib/gcc-ld
(or wherever the gcc compiler passes are installed) then the -shlib option
to gcc will do the two-pass load, and without the -shlib option, gcc will
behave just as before.
Needless to say, my program is based on shcc -- my thanks to John.
The sources to my loader front end should be appearing in unix-pc.sources
any time now.
Andy Fyfe
andy at csvax.caltech.edu
wjafyfe at caltech.bitnet
andy at cit-vax.UUCP (...!ames!elroy!cit-vax!andy)
Of all the things I've lost I miss my mind the most.
More information about the Unix-pc.general
mailing list