Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2001 02:39:11 -0800
From:      Peter Wemm <peter@wemm.org>
To:        obrien@FreeBSD.org
Cc:        Doug Rabson <dfr@nlsystems.com>, ia64@FreeBSD.org
Subject:   Re: Background fsck considered harmful... 
Message-ID:  <20011121103911.9F19A38FF@overcee.netplex.com.au>
In-Reply-To: <20011121021622.A42935@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"David O'Brien" wrote:
> On Wed, Nov 21, 2001 at 09:43:15AM +0000, Doug Rabson wrote:
> > I think LP64 implies I32 - if you want int to be 64bits then its ILP64.
> 
> Today it does.
> 
> > On PS2, gcc uses 32bit ints, 64bit longs and 32bit pointers - what is the
> > define for that? I guess I32L64P32 might be right.
> 
> I would call it IP32L64.

So what define to I test to see if a host has 64 bit longs (dont care
about the others)?

#if defined(__IP32L64__) || defined(__LP64__) || defined(__I32LP64__) ?
How many other permutations are there?

Personally, I think -D__LP64__ is a mistake since it is shoving two seperate
flags into one, leading to permutations.

I'd almost rather  "-D__L=64 -D__I=32 -D__P=32"  and
  #if __L==64 
etc.  (except __P is taken, damn)

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ia64" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011121103911.9F19A38FF>