The Chapter 6 GCC instructions suggest running the sanity check in the "Readjusting the toolchain" section after reinstalling GCC. However, if you just follow the instructions as they are, it will "fail". Before you install GCC into /usr, the check for "/usr/lib/crt.*" will work, but after you do it will not because GCC will actually be using "/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../crt1.o" - really the same thing but obviously shows up differently in the log and won't be found by the grep command in the toolchain adjustment sanity check. Either the GCC instructions should contain a note about this, or the command to find the "crt.*" references should be somehow changed to account for both possibilities.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to