Hello All, I just completed the installation of all the tools specified in chapter 5 of LFS v6.7.
While installing file-5.04 after gcc pass-2, I noticed the presence of i686-pc-linux-gnu folder when I ran .configure. I checked the /mnt/lfs/tools/ folder and found this: $ ls -l /mnt/lfs/tools/ total 40 drwxr-xr-x 2 lfs lfs 4096 Nov 9 20:22 bin drwxr-xr-x 2 lfs lfs 4096 Nov 7 19:06 etc *drwxr-xr-x 4 lfs lfs 4096 Nov 7 17:14 i686-lfs-linux-gnu drwxr-xr-x 4 lfs lfs 4096 Nov 7 19:36 i686-pc-linux-gnu *drwxr-xr-x 32 lfs lfs 4096 Nov 9 20:22 include drwxr-xr-x 7 lfs lfs 4096 Nov 9 20:22 lib drwxr-xr-x 4 lfs lfs 4096 Nov 7 19:06 libexec drwxr-xr-x 7 lfs lfs 4096 Nov 9 20:22 man drwxr-xr-x 2 lfs lfs 4096 Nov 7 19:06 sbin drwxr-xr-x 11 lfs lfs 4096 Nov 9 20:22 share I was of the impression that there should be no reference to '* i686-pc-linux-gnu*'. The config.guess script which I ran to find out the guessed name returned '*i686-lfs-linux-gnu*'. Both these folders have the same contents. ./configure for file-5.04 gave the following output: checking whether the gcc linker (/mnt/lfs/tools/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for ld used by g++... /mnt/lfs/tools/i686-pc-linux-gnu/bin/ld checking if the linker (/mnt/lfs/tools/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the g++ linker (/mnt/lfs/tools/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/mnt/lfs/tools/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes Does this mean I have to redo everything from "Adjusting the tool chain" step? Also in /mnt/lfs/tools/bin folder, I find -rwxr-xr-x 1 lfs lfs 2725723 Nov 7 17:14 i686-lfs-linux-gnu-addr2line -rwxr-xr-x 2 lfs lfs 2856241 Nov 7 17:14 i686-lfs-linux-gnu-ar -rwxr-xr-x 2 lfs lfs 4035121 Nov 7 17:14 i686-lfs-linux-gnu-as -rwxr-xr-x 1 lfs lfs 2703498 Nov 7 17:14 i686-lfs-linux-gnu-c++filt -rwxr-xr-x 1 lfs lfs 488288 Nov 7 17:56 i686-lfs-linux-gnu-cpp -rwxr-xr-x 2 lfs lfs 485385 Nov 7 17:56 i686-lfs-linux-gnu-gcc -rwxr-xr-x 2 lfs lfs 485385 Nov 7 17:56 i686-lfs-linux-gnu-gcc-4.5.1 -rwxr-xr-x 1 lfs lfs 16119 Nov 7 17:56 i686-lfs-linux-gnu-gccbug -rwxr-xr-x 1 lfs lfs 85427 Nov 7 17:56 i686-lfs-linux-gnu-gcov -rwxr-xr-x 1 lfs lfs 3109651 Nov 7 17:14 i686-lfs-linux-gnu-gprof -rwxr-xr-x 2 lfs lfs 3641292 Nov 7 17:14 i686-lfs-linux-gnu-ld -rwxr-xr-x 2 lfs lfs 2759384 Nov 7 17:14 i686-lfs-linux-gnu-nm -rwxr-xr-x 2 lfs lfs 3294785 Nov 7 17:14 i686-lfs-linux-gnu-objcopy -rwxr-xr-x 2 lfs lfs 3748901 Nov 7 17:14 i686-lfs-linux-gnu-objdump -rwxr-xr-x 2 lfs lfs 2856272 Nov 7 17:14 i686-lfs-linux-gnu-ranlib -rwxr-xr-x 1 lfs lfs 577126 Nov 7 17:14 i686-lfs-linux-gnu-readelf -rwxr-xr-x 1 lfs lfs 2752088 Nov 7 17:14 i686-lfs-linux-gnu-size -rwxr-xr-x 1 lfs lfs 2728516 Nov 7 17:14 i686-lfs-linux-gnu-strings -rwxr-xr-x 2 lfs lfs 3294776 Nov 7 17:14 i686-lfs-linux-gnu-strip * -rwxr-xr-x 4 lfs lfs 570947 Nov 7 20:39 i686-pc-linux-gnu-c++ -rwxr-xr-x 4 lfs lfs 570947 Nov 7 20:39 i686-pc-linux-gnu-g++ -rwxr-xr-x 3 lfs lfs 565980 Nov 7 20:39 i686-pc-linux-gnu-gcc -rwxr-xr-x 3 lfs lfs 565980 Nov 7 20:39 i686-pc-linux-gnu-gcc-4.5.1 * Can some one help me figure out why the compilers gcc and g++ are prefixed with i686-pc-linux-gnu and not i686-lfs-linux-gnu? Thanks for your time. Cheers, Anand.
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
