x86_64 ld error

Andreas Jaeger aj@suse.de
Sun Jul 13 16:03:00 GMT 2003


Doug Shubert <doug@accessgate.net> writes:

> Hello,
>
> I'm having a consistent error message when attempting to compile
> GCC 3.3 on RH GinGin Opteron x86_64. The latest binutils
> are installed (binutils-2.14.90.0.4-19.x86_64.bin).
>
> /usr/bin/ld: cannot open crti.o: No such file or directory
> collect2: ld returned 1 exit status
> make[2]: *** [32/libgcc_s_32.so] Error 1

You do not have a 32-bit development environment setup.  By default
GCC will be build on x86_64 in a way that you can compile both 64-bit
x86-64 and 32-bit x86 objects (for the latter use -m32)  but for this
you need a 32-bit environment.

Workaround to build only a 64-bit compiler: configure with
--disable-multilib.

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Gcc mailing list