This is the mail archive of the crossgcc@sources.redhat.com 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] |
Dear all, My linux box is mandrake 8.1. I use it to build arm crosscompiler. The below is my step. step 1, build binutils-2.12 ./configure --target=arm-linux --prefix=/mydir --with-cpu=xscale make all install step 2, build gcc-3.0.4 core export PATH=/mydir/bin:$PATH ./configure --target=arm-linux --prefix=/mydir --with-cpu=xscale --disable-threads --enable-languages=c --with-headers=/armlinux/include make all install step 3, use cross gcc core build glibc-2.2.3 ./configure --target=arm-linux --host=arm-linux --prefix=/mydir --with-cpu=xscale --enable-add-ons=linuxthreads make all install step 4, build gcc-3.0.4 ./configure --target=arm-linux --prefix=/mydir --with-cpu=xscale make all install It make a error: vsprintf.c ..linked waitpid.c ..linked xatexit.c ..linked xatexit.o ..linked xexit.c ..linked xexit.o ..linked xhost-mkfrag ..linked xmalloc.c ..linked xmalloc.o ..linked xmemdup.c ..linked xmemdup.o ..linked xstrdup.c ..linked xstrdup.o ..linked xstrerror.c ..linked xstrerror.o ..linked make[1]: Entering directory `/mnt/redhat/gcc3/gcc/arm-linux/libiberty' make[2]: Entering directory `/mnt/redhat/gcc3/gcc/arm-linux/libiberty/testsuite' rm -f test-us.c test-filter rm -f Makefile make[2]: Leaving directory `/mnt/redhat/gcc3/gcc/arm-linux/libiberty/testsuite' make SUBDIRS="" clean make[2]: Entering directory `/mnt/redhat/gcc3/gcc/arm-linux/libiberty' make SUBDIRS="" mostlyclean make[3]: Entering directory `/mnt/redhat/gcc3/gcc/arm-linux/libiberty' rm -rf *.o pic core errs \#* *.E a.out rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-* rm -f stamp-picdir make[3]: Leaving directory `/mnt/redhat/gcc3/gcc/arm-linux/libiberty' rm -f *.a required-list tmpmulti.out make[2]: Leaving directory `/mnt/redhat/gcc3/gcc/arm-linux/libiberty' rm -f *~ Makefile config.status xhost-mkfrag TAGS multilib.out rm -f config.log rmdir testsuite 2>/dev/null make[1]: Leaving directory `/mnt/redhat/gcc3/gcc/arm-linux/libiberty' loading cache ../config.cache checking host system type... arm-unknown-linux-gnu checking build system type... i686-pc-linux-gnu checking for arm-linux-ar... (cached) arm-linux-ar checking for arm-linux-ranlib... (cached) arm-linux-ranlib checking for gcc... (cached) /mnt/redhat/gcc3/gcc/gcc/xgcc -B/mnt/redhat/gcc3/gcc/gcc/ -B/usr/local/new-xscale/arm-linux/bin/ -B/usr/local/new-xscale/arm-linux/lib/ -isystem /usr/local/new-xscale/arm-linux/include checking whether we are using GNU C... (cached) yes checking whether /mnt/redhat/gcc3/gcc/gcc/xgcc -B/mnt/redhat/gcc3/gcc/gcc/ -B/usr/local/new-xscale/arm-linux/bin/ -B/usr/local/new-xscale/arm-linux/lib/ -isystem /usr/local/new-xscale/arm-linux/include accepts -g... (cached) yes checking for POSIXized ISC... no checking for working const... yes checking for inline... inline checking for a BSD compatible install... (cached) /usr/bin/install -c checking how to run the C preprocessor... (cached) /mnt/redhat/gcc3/gcc/gcc/xgcc -B/mnt/redhat/gcc3/gcc/gcc/ -B/usr/local/new-xscale/arm-linux/bin/ -B/usr/local/new-xscale/arm-linux/lib/ -isystem /usr/local/new-xscale/arm-linux/include -E checking for sys/file.h... yes checking for sys/param.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for strings.h... yes checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... (cached) yes checking for sys/stat.h... yes checking for sys/mman.h... yes checking for fcntl.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking whether the C compiler (/mnt/redhat/gcc3/gcc/gcc/xgcc -B/mnt/redhat/gcc3/gcc/gcc/ -B/usr/local/new-xscale/arm-linux/bin/ -B/usr/local/new-xscale/arm-linux/lib/ -isystem /usr/local/new-xscale/arm-linux/include -g -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make: *** [configure-target-libiberty] Error 1 What should I do? Help me please. Thanks. -- Best regards, Tao Zhang ---------------------------- <www.davworld.net> <tzhang@davworld.net> Tel: (+8610)68717158-2603 ---------------------------- ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |