[Clfs-support] CLFS Embedded gcc compile problem

John McSwain jmcswain at truvista.net
Tue Feb 16 08:27:35 PST 2010


I am working my way through CFLS-embedded SVN-0.0.1-20090726.  I am now in
section 6.11 GCC-4.3.3- Cross Compiler.  I am building in virtual machine
using LiveCD on a i686 (32 bit) trying to make an i586 (32bit) compiler
($BUILD =-m32).  I have run into a problem.  Here is the output from my
.bashrc file and the last few lines of output.  Attached is the gcc 
libiberty/config.log.

.bashrc
------------------------------------------------------
root:/mnt/clfs/sources/gcc-build# cat ~/.bashrc
export CLFS_TARGET="i586-pc-linux-uclibc"
export CLFS_ARCH="i386"
export CLFS_ENDIAN="LITTLE"
export CLFS_NOT_ENDIAN="BIG"
set +h
umask 022
CLFS=/mnt/clfs
LC_ALL=POSIX
PATH=${CLFS}/cross-tools/bin:/bin:/usr/bin
export CLFS LC_ALL PATH
unset CFLAGS
unset CXXFLAGS
----------------------------------------------------
Last few lines of output
---------------------------------------------------
checking for i586-pc-linux-uclibc-lipo... i586-pc-linux-uclibc-lipo
checking for i586-pc-linux-uclibc-nm... /mnt/clfs/sources/gcc-build/./gcc/nm
checking for i586-pc-linux-uclibc-ranlib...
/mnt/clfs/cross-tools/i586-pc-linux-uclibc/bin/ranlib
checking for i586-pc-linux-uclibc-strip...
/mnt/clfs/cross-tools/i586-pc-linux-uclibc/bin/strip
checking whether ln -s works... yes
checking for i586-pc-linux-uclibc-gcc...
/mnt/clfs/sources/gcc-build/./gcc/xgcc -B/mnt/clfs/sources/gcc-build/./gcc/
-B/mnt/clfs/cross-tools/i586-pc-linux-uclibc/bin/ -B/mnt/clfs/cross-tools/i586-pc-linux-uclibc/lib/
 -isystem /mnt/clfs/cross-tools/i586-pc-linux-uclibc/include -isystem
/mnt/clfs/cross-tools/i586-pc-linux-uclibc/sys-include
checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
make: *** [all] Error 2
------------------------------------------

Thanks!

John McSwain
http://www.lakemcgregor.com/~jmcswain/ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.tar.gz
Type: application/octet-stream
Size: 10818 bytes
Desc: not available
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20100216/d3d31572/attachment-0001.obj>


More information about the Clfs-support mailing list