Mail Archives: djgpp/2012/06/23/15:15:23
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 -