On 07/09/2007, Akhilesh Mritunjai <[EMAIL PROTECTED]> wrote: > Hi > > 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 ? >
Don't symlink. Set your environment variables or configure options as appropriate. -- Shawn Walker, Software and Systems Analyst [EMAIL PROTECTED] - http://binarycrusader.blogspot.com/ "Beware of bugs in the above code; I have only proved it correct, not tried it. " --Donald Knuth _______________________________________________ opensolaris-discuss mailing list [email protected]
