[Clfs-support] chapter 6: GCC-4.6.1 - Cross Compiler Final ...build failed

sayed israr sd.israr at gmail.com
Tue Nov 1 11:14:13 PDT 2011


hello!
         i m using Embedded-book for x86 target of Mr.*
AndrewBradford*.following
are my details:

PC: DualCore.4GB RAM
OS: Linux-UBUNTU-10.10
target :486
upto chapter6 , alright but during the final build of GCC-4.6.1 compiler,
build fails miserably
showing the following result :
/**************************************************************************************************************************/
 CLFS_HOST="i686-cross-linux-gnu"
 CLFS_TARGET="i486-pc-linux-uclibc"
 CLFS_ARCH="i386"
 CLFS_ENDIAN="little"
 CLFS_CPU="i486"
/***************************************************************************************************************************/

*AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
  ../gcc-4.6.1/configure --prefix=${CLFS}/cross-tools \
  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
  --with-sysroot=${CLFS} --disable-nls --enable-shared \
  --enable-languages=c --enable-c99 --enable-long-long \
  --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
  --with-mpc=${CLFS}/cross-tools --disable-multilib \
  --with-arch=${CLFS_CPU}**
*/**********************************************************************************************************************/

make[2]: Entering directory
`/mnt/clfs/sources/gcc-build/i486-pc-linux-uclibc/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
/mnt/clfs/sources/gcc-build/./gcc/xgcc -B/mnt/clfs/sources/gcc-build/./gcc/
-B/mnt/clfs/cross-tools/i486-pc-linux-uclibc/bin/
-B/mnt/clfs/cross-tools/i486-pc-linux-uclibc/lib/ -isystem
/mnt/clfs/cross-tools/i486-pc-linux-uclibc/include -isystem
/mnt/clfs/cross-tools/i486-pc-linux-uclibc/sys-include    -g -O2 -O2  -g
-O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector   -I. -I.
-I../.././gcc -I../../../gcc-4.6.1/libgcc -I../../../gcc-4.6.1/libgcc/.
-I../../../gcc-4.6.1/libgcc/../gcc -I../../../gcc-4.6.1/libgcc/../include
-I../../../gcc-4.6.1/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS  -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep
-DL_muldi3 -c ../../../gcc-4.6.1/libgcc/../gcc/libgcc2.c \
      -fvisibility=hidden -DHIDE_EXPORTS
In file included from ../../../gcc-4.6.1/libgcc/../gcc/libgcc2.c:29:0:
*../../../gcc-4.6.1/libgcc/../gcc/tsystem.h:87:19: fatal error: stdio.h: No
such file or directory
compilation terminated.*
make[2]: *** [_muldi3.o] Error 1
make[2]: Leaving directory
`/mnt/clfs/sources/gcc-build/i486-pc-linux-uclibc/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
make: *** [all] Error 2
/****************************************************************************************************************************/
 for ever change in previous builds , i m getting the same error.what i m
missing , i dont know
 Thanks in advance please help.

sd.israr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20111101/f4e45e6d/attachment.html>


More information about the Clfs-support mailing list