difference between -m32 and -arch i386
difference between -m32 and -arch i386
- Subject: difference between -m32 and -arch i386
- From: CSights <email@hidden>
- Date: Fri, 4 Dec 2009 10:58:05 -0500
Hi all,
Is there a difference between the two g++ commands:
g++ -m32 source.cpp
g++ -arch i386 source.cpp
From what I've read the -arch command can be used to generate binaries which
can run on different architectures. E.g. -arch i386 -arch x86_64 would
produce a binary with the source compiled for both 32- and 64-bit Intel
architectures. But if -arch i386 is used alone, is that the same as -m32?
Just want to probe the possibilities: I'm trying to generate a binary for
32-bit Intel and want to hear what others have the say about the
possibilities.
Thanks!
C.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden