This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Determining 64-bit or 32-bit in Makefile
- From: "Dep, Khushil (GE Money)" <Khushil dot Dep at ge dot com>
- To: "kyp44" <kyp4 at yahoo dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Mon, 10 Dec 2007 17:31:05 -0000
- Subject: RE: Determining 64-bit or 32-bit in Makefile
- References: <14257170.post@talk.nabble.com>
I've found the following helpful:
http://unix.derkeiler.com/Newsgroups/comp.unix.programmer/2005-04/0551.h
tml
And
http://www.stata.com/support/faqs/win/64bit.html
HTH
Khush.
-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of kyp44
Sent: 10 December 2007 17:16
To: gcc-help@gcc.gnu.org
Subject: 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-tp1425717
0p14257170.html
Sent from the gcc - Help mailing list archive at Nabble.com.