C compiler cannot create executables?
Tao Zhang
tzhang@davworld.net
Tue May 14 18:42:00 GMT 2002
> Tao,
> It would help more if you found and reported the actual error from the
> config.log file.
>
> Dimi
Thanks all. It's report another error when I redo it today.
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 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 ANSI C header files... (cached) yes
checking for memcpy... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking size of short... configure: error: can not run test program while
cross compiling
make: *** [configure-target-libffi] Error 1
Attach my config.log
--
Best regards,
Tao Zhang
----------------------------
<www.davworld.net>
<tzhang@davworld.net>
Tel: (+8610)68717158-2603
----------------------------
-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:550: checking for Cygwin environment
configure:583: checking for mingw32 environment
configure:666: checking host system type
configure:757: checking build system type
configure:777: checking for gcc
configure:890: 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
configure:906: /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 -o conftest -g -O2 conftest.c 1>&5
configure:932: 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 ) is a cross-compiler
configure:937: checking whether we are using GNU C
configure:965: 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
configure:1008: checking for ld used by GCC
configure:1076: checking if the linker (/usr/local/new-xscale/arm-linux/bin/ld) is GNU ld
configure:1093: checking for /usr/local/new-xscale/arm-linux/bin/ld option to reload object files
configure:1105: checking for BSD-compatible nm
configure:1143: checking whether ln -s works
configure:1164: checking how to recognise dependant libraries
configure:1328: checking for object suffix
configure:1354: checking for executable suffix
configure:1397: checking for arm-linux-file
configure:1530: checking for arm-linux-ranlib
configure:1597: checking for arm-linux-strip
ltconfig:678:checking for /mnt/redhat/gcc3/gcc/gcc/xgcc option to produce PIC
ltconfig:687:checking that /mnt/redhat/gcc3/gcc/gcc/xgcc PIC flag -fPIC -DPIC works.
ltconfig:749: checking if /mnt/redhat/gcc3/gcc/gcc/xgcc static flag works
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 49153
ltconfig:887: checking if /mnt/redhat/gcc3/gcc/gcc/xgcc supports -fno-rtti -fno-exceptions
ltconfig:888: /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 -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
ltconfig:1431: checking if global_symbol_pipe works
ltconfig:1432: /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 -c -g -O2 conftest.c 1>&5
ltconfig:1435: eval "/usr/local/new-xscale/arm-linux/bin/nm conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1487: /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 -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions conftest.c conftstm.o 1>&5
configure:1866: checking for a BSD compatible install
configure:1919: checking whether build environment is sane
configure:1976: checking whether make sets ${MAKE}
configure:2015: checking for working aclocal
configure:2028: checking for working autoconf
configure:2041: checking for working automake
configure:2054: checking for working autoheader
configure:2067: checking for working makeinfo
configure:2084: checking for executable suffix
configure:2115: checking whether to enable maintainer-specific portions of Makefiles
configure:2141: checking for gcc
configure:2254: 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
configure:2270: /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 -o conftest -g -O2 conftest.c 1>&5
configure:2296: 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 ) is a cross-compiler
configure:2301: checking whether we are using GNU C
configure:2329: 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
configure:2484: checking how to run the C preprocessor
configure:2564: checking for ANSI C header files
configure:2670: checking for memcpy
configure:2725: checking for working alloca.h
configure:2758: checking for alloca
configure:2958: checking size of short
-------------- next part --------------
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list