|
|
|
|
 交叉编译链制作时错误 - littletiger [ 2007-01-08 10:09 | 6,202 byte(s)]
 Re: 交叉编译链制作时错误 - cxq1846 [ 2007-03-12 01:26 | 93 byte(s)]
 Re: 交叉编译链制作时错误 - shenghuo456 [ 2007-01-11 15:06 | 262 byte(s)]
 Re: 交叉编译链制作时错误 - littletiger [ 2007-03-14 17:07 | 41 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
第一次编译gcc的时候出错
../../src/gcc-4.1.1/configure --target=arm-linux --prefix=/home/tgr/newphone/toolchain/install --enable-languages=c --disable-threads --disable-multilib --with-float=soft --with-cpu=arm9tdmi --without-headers --disable-shared
make
出错信息:
ototypes -Wold-style-definition -isystem ./include -fomit-frame-pointer -fPIC -Dinhibit-libc -D__gthr_posix_h -g0 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../../src/gcc-4.1.1/gcc -I../../../src/gcc-4.1.1/gcc/. -I../../../src/gcc-4.1.1/gcc/../include -I../../../src/gcc-4.1.1/gcc/../libcpp/include -DL_gcov_one_value_profiler -c ../../../src/gcc-4.1.1/gcc/libgcov.c -o libgcc/./_gcov_one_value_profiler.o
<command line>:1:8: warning: missing whitespace after the macro name
rm -f ./libgcov.a
arm-linux-ar rc ./libgcov.a libgcc/./_gcov.o libgcc/./_gcov_merge_add.o libgcc/./_gcov_merge_single.o libgcc/./_gcov_merge_delta.o libgcc/./_gcov_fork.o libgcc/./_gcov_execl.o libgcc/./_gcov_execlp.o libgcc/./_gcov_execle.o libgcc/./_gcov_execv.o libgcc/./_gcov_execvp.o libgcc/./_gcov_execve.o libgcc/./_gcov_interval_profiler.o libgcc/./_gcov_pow2_profiler.o libgcc/./_gcov_one_value_profiler.o
arm-linux-ranlib ./libgcov.a
make[3]: Leaving directory `/home/tgr/newphone/toolchain/build/gcc/gcc'
make[2]: Leaving directory `/home/tgr/newphone/toolchain/build/gcc/gcc'
Checking multilib configuration...
/bin/sh ../../src/gcc-4.1.1/mkinstalldirs arm-linux/libmudflap ;
rm -f arm-linux/libmudflap/Makefile || : ;
cp multilib.out arm-linux/libmudflap/multilib.out
mkdir -p -- arm-linux/libmudflap
Configuring in arm-linux/libmudflap
configure: creating cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-linux-gcc... /home/tgr/newphone/toolchain/build/gcc/./gcc/xgcc -B/home/tgr/newphone/toolchain/build/gcc/./gcc/ -B/home/tgr/newphone/toolchain/install/arm-linux/bin/ -B/home/tgr/newphone/toolchain/install/arm-linux/lib/ -isystem /home/tgr/newphone/toolchain/install/arm-linux/include -isystem /home/tgr/newphone/toolchain/install/arm-linux/sys-include
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libmudflap] Error 1
make[1]: Leaving directory `/home/tgr/newphone/toolchain/build/gcc'
make: *** [all] Error 2
config.log:
configure:4027: checking for i686-pc-linux-gnu-nm
configure:4058: checking for nm
configure:4102: checking for i686-pc-linux-gnu-ranlib
configure:4133: checking for ranlib
configure:4172: checking for i686-pc-linux-gnu-strip
configure:4203: checking for strip
configure:4242: checking for i686-pc-linux-gnu-windres
configure:4273: checking for windres
configure:4317: checking for i686-pc-linux-gnu-objcopy
configure:4348: checking for objcopy
configure:4392: checking for i686-pc-linux-gnu-objdump
configure:4423: checking for objdump
configure:4474: checking for arm-linux-ar
configure:4549: checking for arm-linux-as
configure:4624: checking for arm-linux-cc
configure:4624: checking for arm-linux-gcc
configure:4699: checking for arm-linux-c++
configure:4699: checking for arm-linux-g++
configure:4699: checking for arm-linux-cxx
configure:4699: checking for arm-linux-gxx
configure:4774: checking for arm-linux-dlltool
configure:4849: checking for arm-linux-gcc
configure:4919: checking for arm-linux-gcj
configure:4994: checking for arm-linux-gfortran
configure:5069: checking for arm-linux-ld
configure:5144: checking for arm-linux-lipo
configure:5219: checking for arm-linux-nm
configure:5294: checking for arm-linux-objdump
configure:5369: checking for arm-linux-ranlib
configure:5439: checking for arm-linux-strip
configure:5514: checking for arm-linux-windres
configure:5588: checking where to find the target ar
configure:5613: checking where to find the target as
configure:5638: checking where to find the target cc
configure:5663: checking where to find the target c++
configure:5691: checking where to find the target c++ for libstdc++
configure:5719: checking where to find the target dlltool
configure:5744: checking where to find the target gcc
configure:5769: checking where to find the target gcj
configure:5797: checking where to find the target gfortran
configure:5825: checking where to find the target ld
configure:5850: checking where to find the target lipo
configure:5865: checking where to find the target nm
configure:5890: checking where to find the target objdump
configure:5915: checking where to find the target ranlib
configure:5940: checking where to find the target strip
configure:5965: checking where to find the target windres
configure:6018: checking whether to enable maintainer-specific portions of Makefiles
configure:6065: checking if symbolic links between directories work
|
|
|
----
linux driver ....
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
hi,你这个不是什么大问题,只是在检测一下你刚刚编译的gcc怎样而已,你完全可以mark掉,不需要检测而已,我如果编译器按顺序制作的话不会碰到这个错误,但是我要是修改某些bug后,单独编译某步,有时候会碰到你这样的错误,mark掉,一点也不影响,编译器依旧好用。至少我的是这样!
|
|
|
----
|
|
[Original]
[Print]
[Top]
|
|
« Previous thread
关于GCC后端移植 |
CPU 与 编译器
第2页 |
Next thread »
编译问题 |
|