This is the mail archive of the gcc-help@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]

RE: GCC does not build gfortran !!


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 
______________________________________________________________________


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