Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* gcc on alpha
@ 2002-01-09 20:46 Jay Braun
  2002-01-11  6:40 ` Falk Hueffner
  2002-01-12 12:12 ` Michael Schulz
  0 siblings, 2 replies; 4+ messages in thread
From: Jay Braun @ 2002-01-09 20:46 UTC (permalink / raw)


Does gcc on Alpha support 64-bit addresses (or some number > 32 bits)
under the Linux OS?  Is it safe to assume that it does so on any
64-bit Linux?

I tried posting to gnu.gcc, but received no response.

Jay


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc on alpha
  2002-01-09 20:46 gcc on alpha Jay Braun
@ 2002-01-11  6:40 ` Falk Hueffner
  2002-01-11 14:03   ` Jay Braun
  2002-01-12 12:12 ` Michael Schulz
  1 sibling, 1 reply; 4+ messages in thread
From: Falk Hueffner @ 2002-01-11  6:40 UTC (permalink / raw)


lyngwyst@aol.com (Jay Braun) writes:

> Does gcc on Alpha support 64-bit addresses (or some number > 32
> bits) under the Linux OS?

Yes. Actually, it supports *only* 64-bit addresses.

> Is it safe to assume that it does so on any 64-bit Linux?

I wouldn't think so. Anyway, I'd rather try to code in a way that is
independend on the size of a pointer, which isn't really hard.

        Falk



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc on alpha
  2002-01-11  6:40 ` Falk Hueffner
@ 2002-01-11 14:03   ` Jay Braun
  0 siblings, 0 replies; 4+ messages in thread
From: Jay Braun @ 2002-01-11 14:03 UTC (permalink / raw)


> 
> > Is it safe to assume that it does so on any 64-bit Linux?
> 
> I wouldn't think so. Anyway, I'd rather try to code in a way that is
> independend on the size of a pointer, which isn't really hard.
> 
>         Falk

Sorry, my question was not clear.  By "safe to assume", I was
referring not to coding practices (you are correct; the code should
not be tied to 32- or 64-bit architecture), but to the degree to which
gcc is tied to the capabilities of the operating system.

Here's my issue in more detail:

I have a simulation application that will, in the next few years,
begin to model situations that will require > 4 GB of virtual address
space.  This means that I need a 64-bit processor, a 64-bit OS, and a
C implementation that supports 64-bit addresses.  The application
already runs on Linux.

The assumption that I am not sure about:  Since gcc is the
implementation tool of Linux, the gcc version delivered with a 64-bit
Linux implementation will support 64-bit addresses.

By the way, does anyone know what the highest virtual address space is
on Alpha Linux?  Most 64-bit OSs seem to use 43 or 44 bits; this is
way more than enough, but I was just curious.  Even 36 bits (64 GB)
will be enough for my application.

Jay


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc on alpha
  2002-01-09 20:46 gcc on alpha Jay Braun
  2002-01-11  6:40 ` Falk Hueffner
@ 2002-01-12 12:12 ` Michael Schulz
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Schulz @ 2002-01-12 12:12 UTC (permalink / raw)


Jay Braun <lyngwyst@aol.com> wrote in <4ce97a1a.0201091246.5bb3658d@posting.google.com> following:
> Does gcc on Alpha support 64-bit addresses (or some number > 32 bits)
Yes it does, but for performance reasons better use the Compaq Compiler.

bye
  michael

-- 
Michael Schulz    -   creative-chaos.com
eMail: mschulz@creative-chaos.com

Signature Device Error (SDE)  - Please contact Systemadministrator



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-01-12 12:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-09 20:46 gcc on alpha Jay Braun
2002-01-11  6:40 ` Falk Hueffner
2002-01-11 14:03   ` Jay Braun
2002-01-12 12:12 ` Michael Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox