This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/33598] gcc 4.2.1 ignores GNU ld on Solaris 9



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]