Mail Archives: djgpp/2016/02/03/00:30:09
Hi,
On Tuesday, February 2, 2016 at 10:43:05 PM UTC-6, Andris Pavenis (andris DOT pavenis AT spam DOT no) [via djgpp AT spam DOT no] wrote:
> On 02/03/2016 05:57 AM, rugxulo AT spam DOT no [via djgpp AT spam DOT no] wrote:
> >
> > Although I'm not really an Ada programmer ....
> >
> > https://sites.google.com/site/rugxulo/eng3d018.zip?attredirects=0
> >
> > 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?)?
>
> Those.
So the 3D Engine successfully builds okay for you (atop Windows)????
Here it's seemingly confused, apparently about subdirs.
> Additionally gnatmake is being used in GCC build process when Ada is
> included.
> >
> > Roughly speaking, it's no longer finding the dependencies properly
> (e.g. svga.ads).
Specifically "Lib_Src/DOS/SVGA.ads" is the first obvious dependency
failure.
A naive attempt to put all files in a single directory (with no subdirs)
seems to (more or less) work and build okay.
For instance, inside e3d.gpr it says this, so it is clearly relying
on finding certain units elsewhere besides current directory:
'for Source_Dirs use (".", "..\lib_src\/**");'
> 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??)
FSF focuses mostly on C/C++. I assume you knew that. ;-)
Maybe they haven't merged newer files yet. I don't actively
follow Ada, so I don't know.
> It says that 'gnatmake -P' is obsolete, bit gnatmake itself and
> suggests to use gprbuild.
>
> There is no file gprbuild.exe in my build of gcc-5.3.0 for DJGPP.
> Strange but it is not present also in earlier build of gcc-6.0.0
> 20160126 for both DJGPP and Linux and also for Linux to DJGPP
> cross-compiler. One could expect to find it there when there is
> such message from gcc-5.3 gnatmake.
http://libre.adacore.com/download/configurations
gprbuild-gpl-2015-src.tar.gz 3.42 MB Apr 6, 2015
http://mirrors.cdn.adacore.com/art/564b3e2ec8e196b040fbd13a
> I guess that gnatmake -P support could be whats broken. I do not know
> that however for sure.
I don't know what's up, but if it's going away (for a cleaner code
base that allegedly works better with non-Ada sources), then that
might be why.
I think we might be fighting a losing war here!
- Raw text -