Hello there! I am trying to compile GCC using Appleās latest tools. The reason is that I am building an own, redistributable, toolchain.
Everything goes quite well (except a ton of warnings about redeclarations and c99 standart), untill it tries to link cc1. A rough rip-off of the warnings is: ld: warning: ignoring file ../libcpp/libcpp.a, file was built for archive which is not the architecture being linked (x86_64): ../libcpp/libcpp.a ld: warning: ignoring file libbackend.a, file was built for archive which is not the architecture being linked (x86_64): libbackend.a ld: warning: ignoring file ../libdecnumber/libdecnumber.a, file was built for archive which is not the architecture being linked (x86_64): ../libdecnumber/libdecnumber.a ld: warning: ignoring file ../libbacktrace/.libs/libbacktrace.a, file was built for archive which is not the architecture being linked (x86_64): ../libbacktrace/.libs/libbacktrace.a ld: warning: ignoring file ../zlib/libz.a, file was built for archive which is not the architecture being linked (x86_64): ../zlib/libz.a Im attaching what I get on STDOUT and STDERR when re-running make after this happens. Specs: Mac OS X 10.9 Developer tools: Latest Version of GCC to compile: 4.8.2 Configuration flags: ../gcc-4.8.2/configure \ --quiet \ --build=x86_64-apple-darwin13.0.0 \ --host=x86_64-apple-darwin13.0.0 \ --target=x86_64-apple-darwin13.0.0 \ --x-includes=/opt/X11/include \ --x-libraries=/opt/X11/lib \ --with-mpfr=/opt/GNUstep \ --with-gmp=/opt/GNUstep \ --with-mpc=/opt/GNUstep \ --enable-objc-gc \ --prefix=/opt/GNUstep/ \ --disable-werror \ --enable-languages=c,objc,c++,obj-c++ Kind regards, Ingwie
make.stderr
Description: Binary data
make.stdin
Description: Binary data