autoconf
[Top][All Lists]
Advanced

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

Re: determining 32 v. 64 bit compilatio


From: Mike Frysinger
Subject: Re: determining 32 v. 64 bit compilatio
Date: Tue, 29 Jun 2010 15:39:24 -0400
User-agent: KMail/1.13.1 (Linux/2.6.34; KDE/4.4.4; x86_64; ; )

On Tuesday, June 29, 2010 14:26:29 Wesley Smith wrote:
> What's the appropriate way to determine 32 v. 64 bit compilation?

what exactly is it you're concerned with ?  if it's sizes of specific types, 
then do as Bob said and check individual types.  you cannot make assumptions 
when the target is "64bits" or "32bits" because not everyone does a 64bit port 
the same.  case in point is the Windows 64bit port.  it does not define type 
sizes the way most people (like Linux 64bit) do.

> I've looked into using:
> 
> AC_CANONICAL_BUILD

i also think you're confusing BUILD and HOST.  BUILD is where things are 
compiled while HOST is where things execute.  the vast majority of the time, 
HOST is what you want.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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