comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <martin@krischik.com>
Subject: Re: Memory limits in Ada where Fortran has none
Date: Mon, 07 Mar 2005 13:26:00 +0100
Date: 2005-03-07T13:26:00+01:00	[thread overview]
Message-ID: <4347402.WYAIEa6MzN@linux1.krischik.com> (raw)
In-Reply-To: pan.2005.03.07.11.59.09.7042@linuxchip.demon.co.uk.uk.uk

Dr. Adrian Wrigley wrote:

> On Mon, 07 Mar 2005 10:41:30 +0100, Martin Krischik wrote:
> 
>> I have got a AMD 64 GNAT right here. Works fine as long as you remember
>> to use -fPIC. Of course any program relying on access types and 'Address
>> beeing 32 bit will fail - most notably this includes trace utilities.

> Presumably this is compatible with the LP64 model of the universe with
> C longs and pointers being 64-bit, and ints at 32 bits(?)
> GNAT "Integer"s stay at 32 bits?

Yes, that's the way it works. And so an Unchecked_Convertion from Address to
Integer will fail now. 

> Did you build the compiler yourself?

Yes.

> (can it be cross-compiled with 
> the x86 GNAT?)

In theory yes but is is easier to compile with the targes OS.

> What about third party GNAT packages (Florist? 
> GtkAda? PolyORB?)  Which OS version?

Most Libs work, but from those you named I have tried only:
PolyORB and it works fine exept for -fPIC (shared libs).

> I'd love to move to 64 bit systems, but the cost and risk of getting
> new hardware and (probably) building all the libraries still puts me off!

With AMD 64 you can allways install both 32 bit and 64 bit Linux parallel.

> A success story from a c.l.a 'local' would probably be enough to
> make me have a go.

Martin
-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com




  reply	other threads:[~2005-03-07 12:26 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-06  0:54 Memory limits in Ada where Fortran has none braver
2005-03-06  1:09 ` Jeff C
2005-03-06  6:18   ` braver
2005-03-06  9:26     ` Martin Krischik
2005-03-06 16:14       ` braver
2005-03-06 16:28         ` Jeff C
2005-03-06 23:09         ` Craig Carey
2005-03-07  0:36           ` braver
2005-03-07  5:55           ` braver
2005-03-08  5:35             ` braver
2005-03-06 14:09     ` Stephen Leake
2005-03-06  9:33 ` Martin Krischik
2005-03-06 22:13 ` Gerald
2005-03-06 23:01 ` Dr. Adrian Wrigley
2005-03-07  0:31   ` braver
2005-03-07 12:47     ` Dr. Adrian Wrigley
2005-03-07  9:41   ` Martin Krischik
2005-03-07 11:59     ` Dr. Adrian Wrigley
2005-03-07 12:26       ` Martin Krischik [this message]
2005-03-07  0:05 ` Robert A Duff
2005-03-07 18:04   ` braver
2005-03-16 19:41     ` Robert A Duff
2005-03-17 18:49       ` Martin Krischik
2005-03-08 11:24   ` Dr. Adrian Wrigley
2005-03-09  3:39     ` Craig Carey
2005-03-16 17:39       ` Craig Carey
2005-03-16 19:51     ` Robert A Duff
2005-03-16 23:47       ` Dr. Adrian Wrigley
replies disabled

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