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]

Determining 64-bit or 32-bit in Makefile


I have a project which will be built on both 64-bit and 32-bit machines. Is
there a way to determine what type of machine I am building on from the
makefile (like an environment variable) so that I can build differently
according to architecture?

-- 
View this message in context: http://www.nabble.com/Determining-64-bit-or-32-bit-in-Makefile-tp14257170p14257170.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]