Re: crti.o: No such file: No such file or directory when compiling gcc 4.5.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lukas Ãsterreicher <lukas.oesterreicher@xxxxxxxx> writes:

> I'm trying to complile gcc 4.5.2 (unless you suggest another version
> for my dual-core atom based embedded linux NAS system).
>
> This is the error I get:
> /home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-ld: crti.o: No such file: No such file or directory

gcc does not provide crti.o.  On a GNU/Linux system it comes from glibc.

> I did this in /opt/etc/gcc-4.5.2-build and gcc sources residing in
> /opt/etc/gcc-4.5.2 with the command /opt/etc/gcc-4.5.2/configure
> --prefix=/opt
>
> crti.o is present in /opt/i686-unknown-linux-gnu/lib/crti.o
> and /opt/i686-unknown-linux-gnu/lib is provided inside /etc/ld.so.conf

If you run gcc -v you will see the directories where it will look for
crti.o.  If you can't move crti.o to one of those directories, you can
use a -B option to add the directory to the search path.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux