Re: Problem with $(gcc -dumpmachine)

2007-11-12 Thread John Whitmore
Thanks for your replies I went back to the start and got it this time. Don't know what I missed but I thought I was very careful. Anyhow all good. Great exercise this ;-) John On Nov 9, 2007 6:08 PM, Dan Nicholson <[EMAIL PROTECTED]> wrote: > On Nov 9, 2007 4:56 AM, John Whitmore <[EMAIL PROTECTE

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: 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

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

Re: Problem with gcc

2005-09-11 Thread Julien Demoor
I did some tests and I find the results very strange. Since the error message seemed to mean that gcc searched for ld-linux in /tools/bin (in >/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: >warning: ld-linux.so.2, needed by /tools/lib/libc.so.6, no

Re: Problem with gcc

2005-09-11 Thread Julien Demoor
It actually worked well at first. I just tried again and it's broken now, the error message is similar to the one in my originat post and the same happens whether I call cc or gcc. It would seem so, yes. That suggests that the toolchain adjustment stage didn't work correctly. Did the 'sanity

Re: Problem with gcc

2005-09-11 Thread Matthew Burgess
Julien Demoor wrote: [re-arranged top-posted material - please see http://www.linuxfromscratch.org/faq/#netiquette] Matthew Burgess wrote: Something went wrong with your glibc installation. /tools/lib/ld-linux.so.2 should be installed by chapter 5 glibc (section 5.6). > > In /mnt/lfs/tool

Re: Problem with gcc

2005-09-11 Thread Julien Demoor
In /mnt/lfs/tools/ I have a link ld-linux.so.2 redirecting to ld-2.3.4.so (in the same directory). Is that correct ? Matthew Burgess wrote: Something went wrong with your glibc installation. /tools/lib/ld-linux.so.2 should be installed by chapter 5 glibc (section 5.6). The errors that follo

Re: Problem with gcc

2005-09-11 Thread Matthew Burgess
[EMAIL PROTECTED] wrote: /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: warning: ld-linux.so.2, needed by /tools/lib/libc.so.6, not found (try using -rpath or -rpath-link) Something went wrong with your glibc installation. /tools/lib/ld-linux.so.2

Problem with gcc

2005-09-11 Thread lfs
Hello, I get an error when configuring gcc for re-installation (LFS 6.1 - section 5.11.1 ). Here is the output : loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking