Mail Archives: djgpp/1999/11/02/05:01:21
On Mon, 1 Nov 1999, Gautier wrote:
> Mmmh it mainly depends on 16 bit or 32 bit (DJGPP is furiously
> 32-bit). If you are using DJGPP GNAT/DOS and only have
> 16-bit sources/object files, you'll better have to translate
> into Ada (with inline assembler if needed to avoid makefile and so).
With all due respect to Ada (and its promoters ;-), I can hardly
believe it would be easier to convert a C program written for a 16-bit
compiler to Ada than to DJGPP. If you really mean that, please
provide some examples to back up your opinion.
> On DJGPP the 16-bit stuff, e.g. calls to DOS, acess to conv. mem.,
> is passed through the DPMI interface with special calls.
Not entirely true. Some calls can be left unchanged, because DJGPP
has the same functions (with different guts). Examples include
int86, findfirst/findnext, conio functions, and lots more.
- Raw text -