www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/21/22:51:28

To: djgpp AT delorie DOT com
Subject: Re: DJGPP compatibility
Message-ID: <19970321.194200.4631.11.chambersb@juno.com>
References: <33307F9C DOT 3905 AT mail DOT utexas DOT edu>
From: chambersb AT juno DOT com (Benjamin D Chambers)
Date: Fri, 21 Mar 1997 22:36:56 EST

On Wed, 19 Mar 1997 18:06:52 -0600 Snoop Baron <baron AT mail DOT utexas DOT edu>
writes:
>I'm a new DJGPP user and love it :)  I heard from a friend though that
>he had probles with it being compatible with AT&T C++ and ANSI C.  How
>compatible is DJGPP with the standards, I know it has extensions.
>-Fernando

Djgpp is not by _default_ 100% ANSI C compliant, though it can be.  Just
add the switches -ansi and -pedantic to the command line.
Djgpp _does_ use AT&T syntax asm.  That is, it uses the same opcodes as
Intel asm, but with different symbols and the operands are in a different
order.  Generally, it goes something like:
<opcode> <source> <destination>
Which is, IMHO, much more logical.

...Chambers

- Raw text -


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