Mail Archives: djgpp/2009/03/13/17:00:24
Andris Pavenis wrote:
> Rugxulo wrote:
>> Hey guys,
>> In gcc432.README, it says this:
>>
>> "ada432b.zip : Ada compiler (untested)"
>>
>> Of course, I've heard that the Ada front-end compiles itself, so
>> that's better than nothing, right?
>
> It is so. I do not however use Ada at all, so I have not done any other
> tests myself. Perhaps somebody could help.
It's done - of course my biggest hurdle was to find the right system to
compile on. DOSBox and Vista gave me some compiler crashes (not enough
memory); XP was perfect. On the results side, there was a strange effect
on displayed colours, but once all new warnings were gone (mostly about
assembler insertions that required a "volatile" flag), the problem was
gone as well. The new GNAT validity checks found three potential bugs.
I'll send the latest archive to Rugxulo; maybe we'll agree on a
permanent place for the file ? The compilation runs "out of the (dos)
box" :-). No need to know Ada, just start one of the "make*.bat".
The demo is probably a good stress-test: some large data put as sources,
low level things like keyboard & sound drivers, data streaming,
decompression, etc. Only tasking is untested there. There are classical
examples (the dining philosophers ?) that could be fine to be tested.
Not sure what a "serious" test for tasking is...
> There is however more problems expected with upcoming gcc-4.4.
> Some time ago I tried to build weekly snapshots of it as
> Linux to DJGPP cross-compiler and run into trouble with Ada.
>
> Standard DJGPP does not have sockets, so I had to turn off socket support.
> Ada library did not compile even after that. I'm not sure that I'll have
> enough time to fix that.
Phew, looks difficult. Anyway, no need to worry too much: I guess that
the intersection DOS and Ada should not be that big...
_________________________________________________________
Gautier's Ada programming -- http://sf.net/users/gdemont/
NB: For a direct answer, e-mail address on the Web site!
- Raw text -