On Sun, Aug 06, 2006 at 12:16:16PM +0200, Mag. Leonhard Landrock wrote: > checking whether the C compiler (gcc ) works... no > configure: error: installation or configuration problem: C compiler cannot > create executables. > In this situation, important information is almost always in the config.log file. The binutils configure is slightly more complex than most, and it puts config.log files in some of the subdirectories, so from within the build directory find -name 'config.log'
Then look at whichever of them is appropriate (or just grep them all for 'C compiler cannot create executables'). Somewhere before that you will see a message about the test to be run, and then an error message from the compiler or linker listing the actual failure. You seem to have a basic problem with your scripts - no tests to ensure that everything worked ( e.g. $? == 0 ). You are also using 'tee' to copy the output - after piping to tee, test $PIPESTATUS because 'tee' is unlikely to fail although the command ahead of it might. As people have said, until you have built LFS successfully, type the commands in. By the time you complete it, you should have a much better idea of how it is supposed to work. Ken -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
