------- Comment #15 from langton at gcc dot gnu dot org  2006-06-20 23:32 
-------
(In reply to comment #14)
> GMP-4.2
> ./configure --prefix=/opt --with-gnu-ld --disable-cxx  --disable-nails 
> --disable-mpfr
> MPFR-2.2
> ./configure --enable-mpfr --with-gmp-=/opt --prefix=/opt --with-gmp-lib=/opt
> --with-gmp-include=/opt && make -j2
> 
> I think that both libraries are 32 bits libraries, not 64.
> 
> GCC
> ../configure --prefix=/opt --enable-threads=posix
> --enable-languages=c,c++,fortran,java --with-gnu-as --with-gnu-ld
> --with-mpfr=/opt --disable-multilib && make -j2 bootstrap
> 

Try adding ABI=32 to the GMP options.  I don't have a SPARC box, but on
AIX-ppc, this was necessary to force GMP to build a 32-bit library.  See also:

http://www.swox.com/gmp/manual/ABI-and-ISA.html#ABI-and-ISA


-- 

langton at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |langton at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26893

Reply via email to