GCC does not build gfortran !!

Rupert Wood me@rupey.net
Fri Dec 7 15:33:00 GMT 2007


Martin Krischik wrote:

> Here an except from my latest Solaris compile:
:
> /opt/gnat/gcc/bin/ld: skipping incompatible  
> /opt/gnat/gcc/lib/libgmp.so when searching for -lgmp

The issue on Solaris is that GMP defaults to building a 64-bit library even when the rest of your toolchain is 32-bit. Force GMP to build as 32-bit and it should work; I think you can do this by passing --host=sparc-sun-solaris2.10 (i.e. not sparc64) to configure.

Rup.




______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the Gcc-help mailing list