This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem Compiling GCC for LFS
Lee,
This is probably better asked on the LFS mailing list. But my observation, is that this is a very unlikely error found in config.gcc.log:
configure:9103: gcc -o conftest -g -Wl,-rpath,/cross-tools/lib conftest.c -lld >&5
/usr/bin/ld: cannot find -lld
My guess is you need to carefully rerun the previous binutils step.
Hope this helps,
Harvey
----- Original Message ----
> From: Lee Myers <Lee@logonomics.net>
> To: gcc-help@gcc.gnu.org
> Sent: Tuesday, March 10, 2009 10:28:54 PM
> Subject: Problem Compiling GCC for LFS
>
> I have been trying to build a Linux from Scratch system.
>
> I have run into a problem trying to build gcc and everyone I have
> tried thus far has been stumped.
>
> I am at this point
> http://cross-lfs.org/view/svn/x86_64/cross-tools/gcc-static.html
>
> I have included my bash print out for everything since I have started
> GCC, as well as the configure.log's from all of the folder under
> gcc-build/ including itself. The naming of the files indicates the
> original folder. config.{folder}.log
>
> If I have missed any thing please tell me and I will try to help as
> much as possible.