Does gcc45 support -arch?

Brandon Allbery allbery.b at
Fri Dec 16 06:43:05 PST 2011

On Fri, Dec 16, 2011 at 09:13, Peng Yu <pengyu.ut at> wrote:

> gcc from gcc45 seems not able to recognize the -arch option. I'm
> wondering whether it should be the case or I did anything wrong?

-arch is part of Apple's private patches to support multiple-architecture
objects and binaries, and is only supported by Apple's Xcode compilers.

brandon s allbery                                      allbery.b at
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list