[Bug target/60821] gcc 4.8 on MacOS fails depending on -arch order

a.h.jaffe at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Apr 14 11:21:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60821

--- Comment #6 from a.h.jaffe at gmail dot com ---
Thanks for the comprehensive info. It would certainly be nice to get the
driverdriver into the main code-base.

However, one thing still puzzles me:

> 5. We do accept -arch on x86:  -arch i386 gets mapped => -m32 and -arch
> x86_64 -> -m64.  The last one you place on the c/l will be in force (and
> there's NO support for the ppc equivalent at present).

This doesn't quite make sense given my experience:

  I have a 64-bit Mavericks machine, and compiled using MacPorts with
+universal. All of "-arch i386", "-arch x86_64" and "-arch x86_64 -arch i386"
seem to succeed, but "-arch i386 -arch x86_64" fails. According to the above,
the latter should have the  same behaviour as "-arch x86_64"



More information about the Gcc-bugs mailing list