> Hello,
> I'm currently trying to bootstrap on gcc31 (because I want to test a
> fortran patch on a machine with REAL(KIND=3D16), and hitting this error:
> /usr/bin/ld: skipping incompatible /opt/cfarm/mpfr-2.3.1/lib/libmpfr.a when 
> searching for -lmpfr
> Any ideas?

Debian's sparc port has a 32-bit userspace, so configure gcc with
--host=sparc-linux-gnu --build=sparc-linux-gnu (instead of sparc64 as
autodetected).

indeed, this archive contains 32-bit objects:

[EMAIL PROTECTED]:~$ ar x /opt/cfarm/mpfr-2.3.1/lib/libmpfr.a get_patches.o
[EMAIL PROTECTED]:~$ file get_patches.o 
get_patches.o: ELF 32-bit MSB relocatable, SPARC, version 1 (SYSV), not stripped

Paul Zimmermann

_______________________________________________
Gcc-cfarm-users mailing list
Gcc-cfarm-users@gna.org
https://mail.gna.org/listinfo/gcc-cfarm-users

Reply via email to