Hi,
I'm confused about the GCC & Linking process could somebody please briefly explain?
I have GCC 3.4.6 installed from SunFreeware. Reading the narrative alongside the package states "It was compiled to use the SUN assembler and loader usually in /usr/ccs/bin if the SUNW developer packages are installed."
SUNW developer packaes are installed and ld / as / ar are in the relevant /usr/ccs/bin directory.
I also have the GNUbinutils package installed which installs ld / as / ar in /usr/local/bin. this /usr/local/bin dir precedes / usr/ccs/bin in my $PATH.
When installing third party applications, i commonly see:
./configure \
--with-gnu-ld \
--with-gnu-as \
which i specify & the applications install and work okay, however:
checking config.log shows
Reading specs from /usr/local/lib etc etc etc
Configure with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin
whats going on?
Thanks
Nick