From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,49eb370bfd3baa90 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!post.news-service.com!news1.surfino.com!not-for-mail Message-Id: <4347402.WYAIEa6MzN@linux1.krischik.com> From: Martin Krischik Subject: Re: Memory limits in Ada where Fortran has none Newsgroups: comp.lang.ada Reply-To: martin@krischik.com Date: Mon, 07 Mar 2005 13:26:00 +0100 References: <1110070479.250902.220540@l41g2000cwc.googlegroups.com> <10789218.m0VIfUVMtG@linux1.krischik.com> Organization: None User-Agent: KNode/0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@surfino.com NNTP-Posting-Host: 83.169.175.19 (83.169.175.19) NNTP-Posting-Date: Mon, 07 Mar 2005 14:00:16 +0100 X-Trace: 83b6e422c5060f60c0ab609522 Xref: g2news1.google.com comp.lang.ada:8807 Date: 2005-03-07T13:26:00+01:00 List-Id: 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