On 26/10/2019 20:19, capnhawkbill wrote:
>> the question was : chapter 5 GCC pass 1, chapter 5 GCC pass 2, or chapter 6 
>> GCC?
> Oh I'm trying to do pass 1 chapter 5
> 
> 
>> Good! Are you pasting from the pdf book or from the html version (if so with
>> which browser?).
> I'm copying from the website in firefox.
> 
So, AFAICT, no problem here...

So at some point in your build, a "configure" script tries to run:
/mnt/lfs/sources/gcc-9.2.0/build/./prev-gcc/xgcc
-B/mnt/lfs/sources/gcc-9.2.0/build/./prev-gcc/
-B/tools/x86_64-pc-linux-gnu/bin/ -B/tools/x86_64-pc-linux-gnu/bin/
-B/tools/x86_64-pc-linux-gnu/lib/ -isystem /tools/x86_64-pc-linux-gnu/include
-isystem /tools/x86_64-pc-linux-gnu/sys-include   -fno-checking

I do not have this in my build. prev-gcc is used when doing "bootstrapping".
When building a cross compiler, there is no possibility to bootstrap, so for
some reason, your build believes this is not a cross compiler. One likely
reason is that LFS_TGT is not set, one less likely reason is that the line
"--target=..." got skipped (less likely if you copy-paste from the book). Try
"echo $LFS_TGT" before running configure.

It's not a bad idea to check that LFS is set too...

If everything seems normal, please post the output of configure. Not the one
which fails, but the one which is run before "make".

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to