Skip to content
Prev 9296 / 15075 Next

error: unrecognized option ‘-arch’ -- suggestion!

On Sep 28, 2012, at 10:29 AM, Kasper Daniel Hansen wrote:

            
Using the full path is not really a solution, because /usr/bin/gcc is just a symlink to whatever the user chooses. In fact, it would complicate things since Xcode now uses dynamic paths, so a setup that is perfectly fine today would break if you do that. It doesn't seem sensible to me to do that just to accommodate esoteric setups that are not even supported. If you mess with PATH and other system variables, you better know what you're doing - you get what you deserve. That's why we warn specifically about 3rd party compiler binaries as they are well known to break. But, as Brian pointed out, all this seems to come from a failure to adhere to the most basic requirement: if you use our binaries, you have to use the tools we tell you to use. You're free to not use our binaries and do what you want, but then you're on your own and can't claim that it's something we are responsible for.

Cheers,
Simon