Written by: Jonathan Norman Date: 3 June 2009 If you are having problems adjusting the toolchain in chapter five then this hint should help solve it. Step 1: This command provides the path to libgcc.a Type: gcc -print-libgcc-file-name This should return something like this: '/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/libgcc.a' Step 2: This command dumps the interal gcc specs into a file. (Hint: Copy and paste your path or use tab complete) Type: gcc -dumpspecs > /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/specs Step 3: Open '/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/specs' in vim / nano / emacs etc and look for ld-linux.so.2 or ld-linux-x86-64.so.2 and put '/tools' in front of their path.