Subject: Re: Gcc question....
To: Nathan J. Williams <nathanw@MIT.EDU>
From: StrangeBrew <firstname.lastname@example.org>
Date: 01/22/2001 18:39:09
it is, as usual, a definition problem between what I meant and what I
"Nathan J. Williams" wrote:
> StrangeBrew <email@example.com> writes:
> > My understanding is current version of GCC on 1.5 does not support
> > 64 bit integers. Is this correct? That is what I read from the
> > GCC docs (that the latest version is not ported to NetBSD alpha too).
> > I asked a couple of other folks to check this in my usual wacky way,
> > and get the same answer.
> > Assuming this is correct, does this mean I have to do the linux
> > compat stuff and run the dec C compiler for Alpha to get 64 bit
> > int suppor?
> It's true that an "int" is not a 64-bit value, even on the Alpha.
> But a "long" is, and it's fully supported by the compiler and the CPU.
> This is more of a definitional issue than a real support issue; any
> hypothetical vendor of 64-bit CPUs and toolchains gets to decide what
> size a plain "int" is (within the bounds of the C spec, of course).
> I'm not sure what "latest version" you're talking about, but the sizes
> of "int" and "long" on the alpha aren't likely to change.
> - Nathan