gcc 4.8 on MacOS fails depending on -arch order

2014-04-11 Thread Andrew Jaffe
I am trying to get a recent version of gcc 4.8.2 up on my machine. For a minimal source file, I get errors depending on the order of the -arch flags. (I have used +universal, although in fact some of these same errors occur even without that, strangely) Specifically, `-arch x86_64 -arch

Re: gcc 4.8 on MacOS fails depending on -arch order

2014-04-11 Thread Eric Gallager
I am surprised that it even worked at all in the first case; last I heard, FSF GCC did not support multiple `-arch` flags at all... See gcc docs here: http://gcc.gnu.org/onlinedocs/gcc/Darwin-Options.html The code that the Apple version of gcc uses to support multiple arch flags can be found