Mail Archives: djgpp/2009/03/14/14:07:51
Gautier wrote:
> 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...
Tried to compile with gcc-4.3.3. No success at least not immediately:
gcc -c -gnatpn -O2 -fomit-frame-pointer -funroll-loops -falign-loops=2 -falign-j
umps=2 -falign-functions=2 -I..\lib_src -I..\lib_src\DOS -I..\lib_src\3dmodels -
I..\lib_src\misc -I..\lib_src\uza_src -o d:/3/1/Engine3D/Demos/ACU_Opti/demos.o
demos.adb
demos.adb:4:06: file "demo_3d_00.ads" not found
gnatmake: "demos.adb" compilation error
That was after I removed or renamed obsolete compiler options.
You an get gcc-4.3.3 for testing from http://ap1.pp.fi/djgpp/gcc/index.html.
(As usually very little testing done),
>
>> 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...
If You are using also Linux then which distribution? If RPM based one, then
I could send spec file and one ZIP file with patches, so You could test.
I should perhaps test with a newer snapshot sometime.
Andris
- Raw text -