Cross-compiling GPA for MinGW
Markus Gerwinski
markus@gerwinski.de
Tue Dec 3 16:54:01 2002
Marcus Brinkmann wrote:
> > > It seems it doesn't pick up the ssize_t typedef. oes your cross compiler
> > > define _MSC_VER? "gcc -dM -E - < /dev/null"
> > Seemingly it doesn't. Here's the complete output:
> How about trying that with your cross compiler instead your native gcc?
Yessir. The output reads:
#define _stdcall __attribute__((__stdcall__))
#define __WINNT 1
#define __i386__ 1
#define _X86_ 1
#define __i386 1
#define ___stdcall__ __attribute__((__stdcall__))
#define WIN32 1
#define __WINNT__ 1
#define __GNUC_MINOR__ 95
#define __declspec(x) __attribute__((x))
#define WINNT 1
#define __MINGW32__ 0.3
#define i386 1
#define _WIN32 1
#define __stdcall __attribute__((__stdcall__))
#define __MINGW32_CPD__ 1
#define __WIN32__ 1
#define __GNUC__ 2
#define __cdecl __attribute__((__cdecl__))
#define __STDC__ 1
#define ___stdcall __attribute__((__stdcall__))
#define __WIN32 1
Markus