Does gcc45 support -arch?

Jason Swails jason.swails at
Fri Dec 16 06:19:59 PST 2011

As far as I know, only the Apple compilers support -arch.  The GCCs from
MacPorts accept different arguments for the architecture (for instance,
-m64 for 64-bit and -m32 for 32-bit).  In any case, that's the behavior I
get as well.


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

> Hi,
> 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?
> --
> Regards,
> Peng
> _______________________________________________
> macports-users mailing list
> macports-users at

Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list