gcc compiling problem. "conftest.out: No such file or directory"

김형준 hjoon@alistel.co.jp
Wed Feb 13 21:06:00 GMT 2002


hi,
I am building ARM-cross-compiler under cygwin in win-XP.
binutil compiling has been successful.

but during GCC compiling with this command,,

1. "../gcc-3.0.3/configure --target=arm-elf --prefix=/usr/local"
2. "make LANGUAGES="c c"" 

I encountered a problem.
following is the compiling messages.


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
xhost-mkfrag is unchanged
checking how to run the C preprocessor... (cached) /lib/cpp
checking for sys/file.h... grep: conftest.out: No such file or directory
yes
checking for sys/param.h... grep: conftest.out: No such file or directory
yes
checking for limits.h... grep: conftest.out: No such file or directory
yes
checking for stdlib.h... grep: conftest.out: No such file or directory
yes
checking for string.h... grep: conftest.out: No such file or directory
yes
checking for unistd.h... (cached) yes
checking for strings.h... grep: conftest.out: No such file or directory
yes
checking for sys/time.h... grep: conftest.out: No such file or directory
yes
checking for time.h... grep: conftest.out: No such file or directory
yes
checking for sys/resource.h... (cached) yes
checking for sys/stat.h... grep: conftest.out: No such file or directory
yes
checking for sys/mman.h... grep: conftest.out: No such file or directory
yes
checking for fcntl.h... grep: conftest.out: No such file or directory
yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... no
checking whether errno must be declared... yes
checking whether the C compiler (/usr/tmp/build-gcc/gcc/xgcc -B/usr/tmp/build-gc
c/gcc/ -B/usr/local/arm-elf/bin/ -B/usr/local/arm-elf/lib/ -isystem /usr/local/a
rm-elf/include -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.
make: *** [configure-target-libiberty] Error 1


maybe, it failed to find "conftest.out".  I don't know what to do next.
I will look forward to your help.. 
Thanks in advance.



More information about the crossgcc mailing list