delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/06/23/15:15:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: rugxulo AT gmail DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gcc-4.7.X and native Ada compiler for DJGPP
Date: Sat, 23 Jun 2012 11:52:14 -0700 (PDT)
Organization: http://groups.google.com
Lines: 43
Message-ID: <fc4678bf-c9c1-4cf9-bda7-4ffd97066a23@googlegroups.com>
References: <4FDC5D93 DOT 2040204 AT iki DOT fi> <9907f873-af2f-4b2d-8b77-59ade8f3fc0b AT googlegroups DOT com>
<4FE0A729 DOT 9030007 AT iki DOT fi> <e4d1a212-f342-4f4c-8a02-c9e4870b70e0 AT googlegroups DOT com>
<8d4b33ae-d514-4ee1-be6b-b0c58f178dd3 AT googlegroups DOT com> <4FE56DFE DOT 10907 AT iki DOT fi>
<4FE5E46B DOT 7050800 AT iki DOT fi>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1340477534 21770 127.0.0.1 (23 Jun 2012 18:52:14 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sat, 23 Jun 2012 18:52:14 +0000 (UTC)
Cc: djgpp AT delorie DOT com
In-Reply-To: <4FE5E46B.7050800@iki.fi>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
Bytes: 3379
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q5NJF2lo010559
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,

On Saturday, June 23, 2012 10:44:43 AM UTC-5, Andris Pavenis wrote:
> On 23.6.2012 10:19, Andris Pavenis wrote:
> >
> > It seems that we need to have own version of gcc/ada/s-os_lib.adb
> > with modified temporary file name generation for DJGPP.
> >
> > Ada support is perhaps broken for non LFN systems before we have one.
> >
> You could try the test build (ada471b.zip only, other files should be OK 
> from the earlier build)
> 
> http://ap1.pp.fi/djgpp/gcc/4.7.1/v204/testonly/ada471b.zip
> 
> Temporary file names should hopefully be compatible with non-LFN system 
> however I have not tested it

Yes, it seems to work much better, though it still fails at the end saying that "s-stratt.ali is outdated and needs to be recompiled". I'm not sure if that's due to some internal hash mismatching, you forgetting to remake it, or if it's a timestamp issue (doubtful as I touch'd it and it didn't help).

Though I did finally just "gnatmake -a s-stratt.adb" in its own dir, and then everything built okay. Though this program is still fickle re: GCC optimizations (probably needs a few more "volatile" keywords or whatever) as one or two video modes didn't quite work by default. I ended up recompiling via makemini.bat and, then it worked fine, go figure.

So yeah, more or less, it works now. Thanks.

P.S. I really don't follow Ada, but supposedly Ada 2012 has been finalized for ISO and soon GNAT GPL will be released supporting almost all of it. GCC already has some support but default is still 2005 dialect (current ISO version). I know Gautier was glad to get partial support for that a few months ago, but I don't think he explicitly targets DOS anymore. (BTW, I even accidentally found the old 2000 Linux port of this 3D engine on WayBack earlier today, installed GNAT 4.4.3 for my Lucid Puppy, and built and tested it, for laughs. No surprise, not like I expected it to work, it crashed quite badly, guess SVGAlib ain't what it used to be, heh.)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019