[unix-pc.general] ld front end

andy@cit-vax.Caltech.Edu (Andy Fyfe) (03/17/89)

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@csvax.caltech.edu
            wjafyfe@caltech.bitnet
            andy@cit-vax.UUCP	(...!ames!elroy!cit-vax!andy)

Of all the things I've lost I miss my mind the most.