On 4/24/07, Clyde Forrester <[EMAIL PROTECTED]> wrote: > I apologize in advance for some newbishness. > I am attempting LFS 6.2 > I am at 5.4 GCC-4.0.3 - Pass 1 > My computer is a homebrew with an AMD 64 x2 > I am doing this in an Ubuntu 6.06 64-bit environment > > In the make bootstrap step, it does a whole slew of stuff, > eventually ending in 4 varieties of > skipping incompatible /usr/lib/[foo] when searching for -lc > and then declaring that it cannot find -lc > > Is this a known problem? > Should I be using some 86-64 GCC tarball from the get-go? > Is this more properly a cross-compiling problem? > I wouldn't think so because the target machine is > the machine I'm compiling on. > > Clyde Forrester
Cross-compiling is compiling for other target then the target GCC is running on. -lc is libc, the gnu C Library, so it's a quite strange error. I think this is because GCC looks in /lib, and you libc would be in /lib64. You should check were you're libc.so.* files exist. And what does the configure script give you? It should say something about building for 64bit, and not for i686-pc-linux-gnu. Tijnema -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
