Does gcc45 support -arch?

Jason Swails jason.swails at gmail.com
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.

HTH,
Jason

On Fri, Dec 16, 2011 at 9:13 AM, Peng Yu <pengyu.ut at gmail.com> 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 lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>



-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111216/caf89f3a/attachment.html>


More information about the macports-users mailing list