configure:3362: /shared/cross-gcc/build/build-
ARM-none-cygwin/./gcc/xgcc -B/shared/cross-gcc/build/build-arm-none-cygwin/./gcc/ -B/usr/local/arm-none-eabi-cygwin/arm-none-eabi/bin/ -B/usr/local/arm-none-eabi-cygwin/arm-none-eabi/lib/ -isystem /usr/local/arm-none-eabi-cygwin/arm-none-eabi/include -isystem /usr/local/arm-none-eabi-cygwin/arm-none-eabi/sys-include -V >&5
xgcc: error: unrecognized command line op
tion '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3373: $? = 1
configure:3362: /shared/cross-gcc/build/build-arm-none-cygwin/./gcc/xgcc -B/shared/cross-gcc/build/build-arm-none-cygwin/./gcc/ -B/usr/local/arm-none-eabi-cygwin/arm-none-eabi/bin/ -B/usr/local/arm-none-eabi-cygwin/arm-none-eabi/lib/ -isystem /usr/local/arm-none-eabi-cygwin/arm-none-eabi/include -isystem /usr/local/arm-none-eabi-cygwin/arm-none-eabi/sys-include -qversion >&5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3373: $? = 1
configure:3389: /shared/cross-gcc/build/build-arm-none-cygwin/./gcc/xgcc -B/shared/cross-gcc/build/build-arm-none-cygwin/./gcc/ -B/usr/local/arm-none-eabi-cygwin/arm-none-eabi/bin/ -B/usr/local/arm-none-eabi-cygwin/arm-none-eabi/lib/ -isystem /usr/local/arm-none-eabi-cygwin/arm-none-eabi/include -isystem /usr/local/arm-none-eabi-cygwin/arm-none-eabi/sys-include -o conftest -g -O2 conftest.c >&5
Assembler messages:
Fatal error: can't create /tmp/ccgZ7d6T.o: No such file or directory
configure:3392: $? = 1
configure:3580: checking for suffix of object files
configure:3602: /shared/cross-gcc/build/build-arm-none-cygwin/./gcc/xgcc -B/shared/cross-gcc/build/build-arm-none-cygwin/./gcc/ -B/usr/local/arm-none-eabi-cygwin/arm-none-eabi/bin/ -B/usr/local/arm-none-eabi-cygwin/arm-none-eabi/lib/ -isystem /usr/local/arm-none-eabi-cygwin/arm-none-eabi/include -isystem /usr/local/arm-none-eabi-cygwin/arm-none-eabi/sys-include -c -g -O2 conftest.c >&5
Assembler messages:
Error: can't open /tmp/ccnR0jZR.s for reading: No such file or directory
configure:3606: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3620: error: in `/shared/cross-gcc/build/build-arm-none-cygwin/arm-none-eabi/libgcc':
configure:3623: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
出错的地方应该就是 xgcc 编译 conftest.c 没有生成临时文件,直接copy 上面的 C代码为 conftest.c 然后使用log中的命令也出现同样的错误。
/shared/cross-gcc/build/build-arm-none-cygwin/./gcc/xgcc -B/shared/cross-gcc/build/build-arm-none-cygwin/./gcc/ -B/usr/local/arm-none-eabi-cygwin/arm-none-eabi/bin/ -B/usr/local/arm-none-eabi-cygwin/arm-none-eabi/lib/ -isystem /usr/local/arm-none-eabi-cygwin/arm-none-eabi/include -isystem /usr/local/arm-none-eabi-cygwin/arm-none-eabi/sys-include -c -g -O2 conftest.c