<div>Hi all,</div><div>I've been following the CLFS powerpc instructions from version 1.2.0,</div><div>currently the latest stable version.</div><div><br></div><div>I believe I haven't deviated from the instructions at all, but I get</div>
<div>an error when it comes to section 5.14. Cross gcc-4.6.0 - static.</div><div><br></div><div>After the command "make all-gcc all-target-libgcc", I (eventually) get</div><div>an error message "configure: error: cannot compute suffix of object</div>
<div>files: cannot compile", see below:</div><div><br></div><div>make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/gcc'</div><div>Checking multilib configuration for libgcc...</div><div>mkdir -p -- powerpc-unknown-linux-gnu/libgcc</div>
<div>Configuring in powerpc-unknown-linux-gnu/libgcc</div><div>configure: creating cache ./config.cache</div><div>checking for --enable-version-specific-runtime-libs... no</div><div>checking for a BSD-compatible install... /usr/bin/install -c</div>
<div>checking for gawk... gawk</div><div>checking build system type... i486-cross-linux-gnu</div><div>checking host system type... powerpc-unknown-linux-gnu</div><div>checking for powerpc-unknown-linux-gnu-ar... powerpc-unknown-linux-gnu-ar</div>
<div>checking for powerpc-unknown-linux-gnu-lipo... powerpc-unknown-linux-gnu-lipo</div><div>checking for powerpc-unknown-linux-gnu-nm...</div><div>/mnt/clfs/sources/gcc-build/./gcc/nm</div><div>checking for powerpc-unknown-linux-gnu-ranlib...</div>
<div>powerpc-unknown-linux-gnu-ranlib</div><div>checking for powerpc-unknown-linux-gnu-strip... powerpc-unknown-linux-gnu-strip</div><div>checking whether ln -s works... yes</div><div>checking for powerpc-unknown-linux-gnu-gcc...</div>
<div>/mnt/clfs/sources/gcc-build/./gcc/xgcc</div><div>-B/mnt/clfs/sources/gcc-build/./gcc/</div><div>-B/cross-tools/powerpc-unknown-linux-gnu/bin/</div><div>-B/cross-tools/powerpc-unknown-linux-gnu/lib/ -isystem</div><div>
/cross-tools/powerpc-unknown-linux-gnu/include -isystem</div><div>/cross-tools/powerpc-unknown-linux-gnu/sys-include</div><div>checking for suffix of object files... configure: error: in</div><div>`/mnt/clfs/sources/gcc-build/powerpc-unknown-linux-gnu/libgcc':</div>
<div>configure: error: cannot compute suffix of object files: cannot compile</div><div>See `config.log' for more details.</div><div>make: *** [configure-target-libgcc] Error 1</div><div><br></div><div><br></div><div>I can't find any error messages in config.log and the lines appended</div>
<div>to gcc/config/rs6000/sysv4.h seem to have been added successfully.</div><div><br></div><div>I'm running Ubuntu in vmware player:</div><div><br></div><div>uname -a</div><div>Linux ubuntu 2.6.32-42-generic #95-Ubuntu SMP Wed Jul 25 15:57:54 UTC</div>
<div>2012 i686 GNU/Linux</div><div><br></div><div>Any and all help welcome.</div><div>Cheers,</div><div>tOBi.</div>