Mail Archives: djgpp/2016/02/02/23:15:13
Hi,
On Monday, February 1, 2016 at 9:43:03 AM UTC-6, Andris Pavenis (andris DOT pavenis AT spam DOT no) [via djgpp AT spam DOT no] wrote:
> On 02/01/2016 04:07 PM, Wiktor S. (wswiktorSP AT spam DOT no) [via djgpp AT spam DOT no] wrote:
> >> - Only change since previous release is including also Ada compiler
> >
> > Does it mean that gcc530b.zip and gpp530b.zip haven't changed?
> >
> They have also changed. One do however only need to update to this
> release if Ada compiler is needed. Otherwise previous release will work OK.
Although I'm not really an Ada programmer ....
I've not tested Ada under DJGPP since two years ago (GCC 4.9.0) on April 30. The only remark I made then was that the keyword "some" was apparently now reserved in (default) 2012 dialect, hence simple workaround of using "-gnat05" when building Gautier's old 3D Engine.
https://sites.google.com/site/rugxulo/eng3d018.zip?attredirects=0
Andris, thank you heavily for your efforts, as always, but did you test this? You say that "gnatmake did not work", but what did you test with it? Just "hello world" or more complicated tests? Maybe it works fine for you under Windows (XP? Vista?)?
I'm going to have to try again, but yesterday it didn't seem to work for me. Of course, that was under raw FreeDOS (SFNs), so who knows what the problem really is. I guess I need to also try under DOSEMU (since I don't have any 32-bit Windows anymore).
Roughly speaking, it's no longer finding the dependencies properly (e.g. svga.ads), but I'm not sure why. BTW, although this isn't definitive proof that gnatmake itself is totally deprecated, I somehow get that feeling. And in case it wasn't obvious, gprbuild is not included in the DJGPP port. (It is allegedly GPL'd on AdaCore, though, so perhaps FSF hasn't bundled it yet??)
Maybe we should pester Gautier via email to see what he thinks? He's certainly much savvier than I am about GNAT switches, etc.
[ FreeDOS ] G:\TONY\ENGINE3D\DEMOS>gnatmake -gnat05 demos -Pe3d.gpr -XBuild_Mode=Fast
warning: gnatmake -P is obsolete and will not be available in the next release; use gprbuild instead
gcc -c -O2 -gnatn -funroll-loops -fpeel-loops -ftracer -funswitch-loops -gnatp
-fomit-frame-pointer -gnatk8 -gnat05 -I- -gnatA G:/tony/engine3d/demos\demos.adb
demos.adb:4:06: file "svga.ads" not found
- Raw text -