This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compilation error while building gcc tool chain using crosstool.


Hi!,

??? I am building gcc tool chain(gcc-3.4.5 glibc-2.2.2)?for i386 boards. Since the application?I am porting on i386 uses termcap.h, I used the option --builduserland with all.sh. Without the --builduserland option, the tool chain successfully builds but with --builduserland I see the following compilation error:

<<<
?checking for C compiler default output... configure: error: C compiler cannot create executablesTH="//home/rgauba/cross/crosstools/crosstool-0.43/crosstool/gcc-3.4.5-glibc-2.2.2/i686-unknown-linux-gnu"/bin:$PATH AR="i686-linux"-ar AS="i686-linux"-as CXX="i686-linux"-g++ CC="i686-linux"-gcc LD="i686-linux"-ld NM="i686-linux"-nm OBJCOPY="i686-linux"-objcopy OBJDUMP="i686-linux"-objdump RANLIB="i686-linux"-ranlib STRIP="i686-linux"-strip CFLAGS='-O' ac_cv_func_getpgrp_void=yes ac_cv_func_setpgrp_void=yes ac_cv_sizeof_long_long=8 ac_cv_func_memcmp_clean=yes ac_cv_func_setvbuf_reversed=no ac_cv_func_getrlimit=yes \
./configure --prefix=/usr --build=i686-host-linux-gnu --host="i686-linux" --disable-nls
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-linux-strip... i686-linux-strip
checking build system type... i686-host-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in autoconf-lib-link
configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--build=i686-host-linux-gnu' '--host=i686-linux' '--disable-nls' 'CC=i686-linux-gcc' 'CFLAGS=-O' 'CXX=i686-linux-g++' 'build_alias=i686-host-linux-gnu' 'host_alias=i686-linux' --cache-file=/dev/null --srcdir=.checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-linux-strip... i686-linux-strip
checking for i686-linux-gcc... i686-linux-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link
make: *** [/home/rgauba/cross/crosstools/crosstool-0.43/build/i686-unknown-linux-gnu/gcc-3.4.5-glibc-2.2.2/ptxdist-testing-20031113/state/gettext.prepare] Error 1
?>>>>>
?
Thanks in advance,
Rahul




--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]