www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/03/13/17:00:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Fri, 13 Mar 2009 22:59:10 +0100
From: Gautier <gautier AT fakeaddress DOT nil>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.18) Gecko/20081031 SeaMonkey/1.1.13
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GdM's DOS 3d engine in Ada
References: <fd276696-ed47-4a8c-8032-9da8cb38b3a2 AT q9g2000yqc DOT googlegroups DOT com> <49B805ED DOT 7060307 AT iki DOT fi>
In-Reply-To: <49B805ED.7060307@iki.fi>
NNTP-Posting-Host: 85.1.213.101
X-Original-NNTP-Posting-Host: 85.1.213.101
Message-ID: <49bad72f_7@news.bluewin.ch>
X-Trace: news.bluewin.ch 1236981551 85.1.213.101 (13 Mar 2009 22:59:11 +0100)
Organization: Bluewin AG
Lines: 41
Complaints-To: abuse AT bluewin DOT ch
X-Original-NNTP-Posting-Host: 127.0.0.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019