crti.o: No such file

Ian Lance Taylor iant@google.com
Mon Jun 29 22:06:00 GMT 2009


booleandomain <booleandomain@gmail.com> writes:

> I'm trying to compile gcc-4.4.0. After having issued the make command
> I get the following error message:
>
> [...]
> /usr/local/x86_64-pc-linux-gnu/bin/ld: crti.o: No such file: No such
> file or directory
> collect2: ld returned 1 exit status
> make[2]: *** [libgcc_s.so] Error 1
> [...]

On GNU/Linux crti.o comes from glibc, not gcc.  It is normally found in
/usr/lib.


> I configured gcc with the following options:
> --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
> --target=x86_64-pc-linux-gnu --enable-languages=c --disable-bootstrap
> --disable-multilib

Don't specify the --build, --host, and --target options.  They won't
help you.  When you specify --host, autoconf thinks that you are
building with a cross-compiler.  (That is, don't specify these options
unless you are, in fact, building with a cross-compiler.)

Ian



More information about the Gcc-help mailing list