> ld: warning: ignoring file ../libcpp/libcpp.a, file was built for archive > which is not the architecture being linked (x86_64): ../libcpp/libcpp.a
Well, what *is* in that libcpp.a file, that is not x86_64? It can be a file with another architecture (i386 being the obvious suspect), or simply a non-object file: in all cases, the linker will disregard the static library, even though it may contain objects files of the right architecture. I’m not seeing this build failure, though, also on OS X 10.9 and latest compiler tools, and a build configured like that: ../gcc-4.8.2/configure --prefix=/usr/local/gfortran --with-gmp=/Users/fx/devel/gcc/deps-static/x86_64 --enable-languages=c,c++,fortran,objc,obj-c++ --build=x86_64-apple-darwin13 Maybe you want to dichotomize your configure options and find out what’s brinding trouble? FX