|
From: Danny B. <dan...@sc...> - 2006-09-21 19:19:26
|
I've listed the macros I could find in the wince-pe.h and mingw32.h files (both in src/gcc/gcc/config/arm). They're slightly inconsistent. I would find these adjustments more logical than the current state, but I'm merely proposing this, I may be wrong - I've been known to be wrong at times ;-) pe mingw32 __CEGCC__ __CEGCC__ __CEGCC32__ __CEGCC32__ __CEGCCPE__ __CEGCCMINGW__ unix __unix__ __unix UNICODE UNICODE _UNICODE _UNICODE ARM ARM __COREDLL__ WIN32 _WIN32 WINNT Not sure about this one. _POSIX_SOURCE _POSIX_SOURCE Enabled by cmd line option (which one?) _MT _MT Enabled by command line option -mthreads This proposal would change : - __CEGCC__ and __CEGCC32__ - add __CEGCCPE__ or __CEGCCMINGW__ - use the UNICODE, _UNICODE, ARM, _MT macros consistently - remove UNDER_CE - Not sure why we need the WINNT symbol Does the __COREDLL__ really mean we're not offering the cegcc.dll ? (Then I presume it's more or less mutually exclusive with "unix".) Whatever it means, I haven't documented this one yet so I need to know exactly what it stands for. Thoughts ? Danny --=20 Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info |