Reputation: 38228
The link here Apple's gcc, what's the difference between -arch i386 and -m32? is not valid any more.
And searching on apple site is astoundingly difficult: I couldn't find it.
Upvotes: 0
Views: 1886
Reputation:
Most (all?) man pages are available at Apple’s Web site, too: gcc man page
-arch is an Apple GCC-specific option that tells the compiler to generate code for all architectures specified with -arch, e.g. -arch i386 -arch x86_64 will produce fat binaries targeted at both 32-bit and 64-bit Intel, whereas only one of -m32, -m64 is used by the compiler.
Upvotes: 2