Re: Problem with $(gcc -dumpmachine)

2007-11-09 Thread Dan Nicholson
On Nov 9, 2007 4:56 AM, John Whitmore <[EMAIL PROTECTED]> wrote: > > In my /tools directory I've got two candidates: > > /tools/i686-pc-linux-gnu-gcc > /tools/i686-pc-linux-gnu-gcc-4.1.2 The first one is wrong, and it should be in /tools/bin. > However my $(gcc -dumpmachine) gives me > > i486-pc-

Re: Glibc-2.3.6 configure error

2007-11-09 Thread Dan Nicholson
On Nov 8, 2007 11:26 PM, sizo nsibande <[EMAIL PROTECTED]> wrote: > Hi I just started chapter 6 of linux from scratch using version 6.2 of > the book and the accompanying LFS distro, I ran: > ../glibc-2.3.6/configure --prefix=/usr --disable-profile > --enable-add-ons --enable-kernel=2.6.0 --libexec

Re: Problem with $(gcc -dumpmachine)

2007-11-09 Thread Sean Markan
I had this same problem, and it turned out I had forgotten to put the gcc binary into /tools/bin (i.e. make install). Something to double-check if you haven't already. - Sean On Nov 9, 2007 4:56 AM, John Whitmore <[EMAIL PROTECTED]> wrote: > Hello all, >hate asking questions but this is bot

Re: gcc compile error

2007-11-09 Thread Marius Meinert
I had the same error in pass 1. I solved it by not patching gcc in this pass, the final gcc can be build with the patches, but without bootstrap, in a later chapter. Marius On Nov 8, 2007, at 11:13 PM, jasin wrote: > I have searched for a couple hours now with no answer to fix my > problem.

Re: LFS with Glibc 2.7?

2007-11-09 Thread Thomas Jefferson
I've had the same problem, and after adding -march=i486 to CFLAGS, it got me by that error, but i encountered another error afterwards: /lfs/glibc-build/libc_pic.os: In function `sync_file_range': (.text+0x9e963): undefined reference to `.Lpseudo_end' collect2: ld returned 1 exit status Not sure

Problem with $(gcc -dumpmachine)

2007-11-09 Thread John Whitmore
Hello all, hate asking questions but this is both a question and perhaps a problem with the Linux From Scratch Book. I started working through this book with a very old laptop but I'm learning and if should work even on an old laptop, I assume. Anyhow I've gotten as far as page 46, section 5.7