This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: x86_64 ld error
- From: Andreas Jaeger <aj at suse dot de>
- To: Doug Shubert <doug at accessgate dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 13 Jul 2003 17:25:26 +0200
- Subject: Re: x86_64 ld error
- References: <3F11678F.C852F63E@accessgate.net>
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