On 19/10/26 09:28pm, Pierre Labastie wrote: > On 26/10/2019 20:19, capnhawkbill wrote: > 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. LFS_TGT is set to x86_64-pc-linux-gnu. > 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". I have a session where I confirm the variables first and then run the configure script: http://ix.io/1ZVo
Do I need a special no-bootstrap flag? Capnhawkbill -- 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
