Mail Archives: djgpp/1994/09/23/03:32:26
Chris Tate writes:
> Stan Shebs, once of Apple and now with Cygnus (a private company that does
> GNU-based development on a contract basis?), worked for quite some time on
> porting gcc/g++ 2.x to the Macintosh, which shares with NT the fact that
> its toolbox uses Pascal calling conventions.
>
> It turns out that making gcc understand Pascal calling conventions is
> *very* hard. Here are the basic differences:
While you are correct that Windows NT uses the PASCAL "keyword" in its
function definitions, I don't think the calling style is Pascal.
Last time I checked the Windows NT header files, I found
#define PASCAL
which indicates that PASCAL functions in NT are really just __cdecl.
Craig
---------------------------------------------------------------------
Craig Markwardt SLAC | "To cogitate and
internet: craigm AT egnext DOT slac DOT stanford DOT edu | to solve ..." -MathNet
---------------------------------------------------------------------
- Raw text -