Created attachment 30113 [details] The arm-unknown-linux-gnueabi/libgcc/config.log I'm trying to compile a cross-compiler for armv6 so I added the --with-arch=armv6 option, but the compilation fails on libgcc. I'm not sure if I made a mistake befor compiling gcc or it is a bug. But I can not compile libgcc. --- configure:3587: /home/dominik/Entwicklung/android/temp-tools/src/gcc-build/./gcc/xgcc -B/home/dominik/Entwicklung/android/temp-tools/src/gcc-build/./gcc/ -B/home/dominik/Entwicklung/android/temp-tools/data/develop//cross-tools/arm-unknown-linux-gnueabi/bin/ -B/home/dominik/Entwicklung/android/temp-tools/data/develop//cross-tools/arm-unknown-linux-gnueabi/lib/ -isystem /home/dominik/Entwicklung/android/temp-tools/data/develop//cross-tools/arm-unknown-linux-gnueabi/include -isystem /home/dominik/Entwicklung/android/temp-tools/data/develop//cross-tools/arm-unknown-linux-gnueabi/sys-include -c -g -O2 conftest.c >&5 /home/dominik/Entwicklung/android/temp-tools/src/gcc-build/./gcc/as: 87: exec: -march=armv6: not found configure:3591: $? = 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:3605: error: in `/home/dominik/Entwicklung/android/temp-tools/src/gcc-build/arm-unknown-linux-gnueabi/libgcc': configure:3608: error: cannot compute suffix of object files: cannot compile See `config.log' for more details.
Created attachment 30114 [details] The top config.log
I do not know why, but after I deleted the gcc directory and the build directory and tried to build gcc again it works. I does that before I post this 'bug' but there was the same error. But now i works for me..