> I'm a bit miffed with all the troubles getting the numerous open source > programs to compile under nevada with gcc. The most frequent and annoying > problem is when the linker is assumed to be GNU ld, and is passed specific > parameters (eg. --with-version-script), which the SUN ld (in /usr/ccs/bin) > does not understand. > > The problem is compounded by the fact(?) that the FULL path to ld has been > hard coded during gcc compilation as /usr/ccs/bin/ld... hence it is > impossible to symlink /usr/sfw/bin/gld as /use/sfw/bin/ld and put that in the > path first and just leave /usr/ccs alone. > > Any insights on why it was done like this ? Studio 11/12 come with their own > ld so why is there a copy of ld in /usr/ccs/bin ? and why gcc isn't > configured to use gld ? How is it "supposed" to work ?
If a project fails to use CCS ld, I'll just symlink ld to gld temporarily until the project compiled, then revert that. -mg
signature.asc
Description: OpenPGP digital signature
_______________________________________________ opensolaris-discuss mailing list [email protected]
