This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Difference gcc options "-m32" and "-arch i386"


Could someone please explain me the difference between the two gcc/g++
options "-m32" and "-arch i386"? Is there any difference when used as a
compiler or linker flag?

Since I upgraded to Mac OSX Snowleopard I had a hard time to compile most of
my programs and the best solution I found so far is to use those two
options. However, I am not really aware of the difference between them. 

Thanks for your help.
-- 
View this message in context: http://www.nabble.com/Difference-gcc-options-%22-m32%22-and-%22-arch-i386%22-tp26017391p26017391.html
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]