[Bug c/33598] gcc 4.2.1 ignores GNU ld on Solaris 9
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Sep 30 18:31:00 GMT 2007
------- Comment #13 from ebotcazou at gcc dot gnu dot org 2007-09-30 18:30 -------
> As far as sparcv9 goes, the bin and lib dirs obviously have to be different:
>
> --bindir=/usr/local/bin/sparcv9 --libdir=/usr/local/lib/sparcv9
>
> as opposed to defaults, but the main differences is the use of:
>
> LD_RUN_PATH="/usr/local/lib/sparcv9:/usr/local/lib"
>
> rather than the standard /usr/local/lib.
None of these settings will give you a sparcv9 compiler and that could
explain your problem.
The sparcv9 subdirectory of /lib on Solaris contains 64-bit libraries so
you need a 64-bit capable compiler to use them, either the multilib 32-bit
sparc-sun-solaris2.9 compiler or the sparc64-sun-solaris2.9 compiler.
The configure line you posted will build the non-multilib 32-bit compiler.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33598
More information about the Gcc-bugs
mailing list