On 24 July 2015 at 18:31, sindhu selvam wrote:
> /usr/local/cross/x86_64-pc-linux-gnu/bin/ld: cannot find crti.o: No
> such file or directory
> /usr/local/cross/x86_64-pc-linux-gnu/bin/ld: cannot find -lc
> /usr/local/cross/x86_64-pc-linux-gnu/bin/ld: cannot find crtn.o: No
> such file or directory

This means you don't have a C library installed, which is unsurprising
because you're starting a new toolchain without an existing one. I
believe if you add --with-newlib to the GCC configure command it will
prevent GCC from ttrying to build anything that requires a C library
to be already installed (as explained in the GCC Pass 1 section of
http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html)

But this is not the right list for help using or building gcc, please
follow up in the gcc-h...@gcc.gnu.org list instead, thanks.

Reply via email to