No luck - same error :( I see the following list in config.log: /tools/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lpwl collect2: error: ld returned 1 exit status Is that of interest? Maybe I should just try a different GCC / binutils combination. Any other suggestions to help figure out what's wrong? On Wed, Jun 19, 2013 at 2:25 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > On Wed, Jun 19, 2013 at 12:10 PM, Uri Moszkowicz <uri@xxxxxxxxx> wrote: > >> ld exists in the target path: >> -rwxr-xr-x 4 <user> <group> 6238594 Jun 18 16:06 /tools/gcc-4.7.2/bin/ld >> >> strace shows a number of stat calls before GCC exists but not to this >> path or LD at all. Seems to be looking for ld-new and real-ld. I don't >> see either of those in the installed directory (/tools/gcc-4.7.2) but >> I see a few instances of ld-new in the build directory (<root>/x86_64 >> above: ./prev-ld/ld-new, ./stage1-ld/ld-new, and ./ld/ld-new). Any >> idea what's wrong now? > > I'm just guessing but try removing your gcc object directory, while > not touching your installed binutils, and build again. These days GCC > looks for the linker at configure time and it may not have found it > when you ran your configure. > > Ian