[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

determining 32 v. 64 bit compilatio

From: Wesley Smith
Subject: determining 32 v. 64 bit compilatio
Date: Tue, 29 Jun 2010 20:26:29 +0200

What's the appropriate way to determine 32 v. 64 bit compilation?
I've looked into using:


with the $build_cpu $build_vendor $build_os variables, but it doesn't
give the right info (in my case i686 pc linux-gnu).  I'm essentially
looking for something in autoconf land equivalent to:

#if defined(__LP64__) || defined(_LP64)
       #define OSBIT 64;
       #define OSBIT 32;

thanks in advance!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]