www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/07/07:25:03

Date: Mon, 7 Aug 1995 13:07:27 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Sulyok Peter <sulyokp AT dragon DOT klte DOT hu>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Assembly and others

On Mon, 7 Aug 1995, Sulyok Peter wrote:

> 3. DJGPP v2.0 will be ANSI- and POSIX-compliant. It would be a good
> thing if it would be "DOS C-compliant" too. It means that DJGPP
> ought to support function and type names (in DOS.H, DIR.H) which are
> the common part of DOS C compilers (Borland, Microsoft, Watcom, Symantec).
> In fact, mostly these are the identifiers of Microsoft C compiler.

Alas, those identifiers grossly disagree.  At least for Borland and 
Microsoft ``schools'' of DOS C compilers, the names are usually quite 
different.  E.g., Borland's findfirst() is MSC's _dos_findfirst(), and 
the calling sequence is different; many Borland's functions return 
values, while MSC's ones return DOS error code, etc.  For those functions 
which agree (like int86()), DJGPP follows them.  Historically, DJGPP is 
rooted in Borland's tradition, so it usually supplies functions you'd 
expect working under that environment.  Volunteers are welcome to write 
and donate a set of macros or wrapper functions which will map them to 
MSC's convention.

- Raw text -


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