Mail Archives: djgpp/1997/03/21/22:51:28
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 -