| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#if defined(MSLINKER) |
| 8 |
|
| 9 |
#define CPPADD { "-DWIN32", "-D_WIN32", NULL } |
| 10 |
#define DEFLIBS { "/subsystem:console", "msvcrt.lib", "libpcc.a", NULL } |
| 11 |
#else |
| 12 |
|
| 13 |
#define CPPADD { "-DWIN32", "-D_WIN32", "-D__MSVCRT__", "-D__MINGW32__", NULL } |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
#define CRT0 "crt2.o" |
| 18 |
#define STARTLABEL "_mainCRTStartup" |
| 19 |
#define CRT0_S "dllcrt2.o" |
| 20 |
#define STARTLABEL_S "_DllMainCRTStartup@12" |
| 21 |
#define GCRT0 "gcrt2.o" |
| 22 |
|
| 23 |
#define CRTBEGIN 0 |
| 24 |
#define CRTEND 0 |
| 25 |
#define CRTBEGIN_S 0 |
| 26 |
#define CRTEND_S 0 |
| 27 |
#define CRTBEGIN_T 0 |
| 28 |
#define CRTEND_T 0 |
| 29 |
#define CRTI 0 |
| 30 |
#define CRTN 0 |
| 31 |
|
| 32 |
#define WIN32_LIBC "-lmsvcrt" |
| 33 |
#define MINGW_RTLIBS "-lmoldname", "-lmingwex", "-lmingw32" |
| 34 |
#define MINGW_SYSLIBS "-luser32", "-lkernel32" |
| 35 |
#define DEFLIBS { MINGW_RTLIBS, "-lpcc", WIN32_LIBC, MINGW_SYSLIBS, MINGW_RTLIBS, WIN32_LIBC, 0 } |
| 36 |
#define DEFPROFLIBS { MINGW_RTLIBS, "-lpcc", WIN32_LIBC, "-lgmon", MINGW_SYSLIBS, MINGW_RTLIBS, WIN32_LIBC, 0 } |
| 37 |
#define DEFCXXLIBS { "-lp++", MINGW_RTLIBS, "-lpcc", WIN32_LIBC, MINGW_SYSLIBS, MINGW_RTLIBS, WIN32_LIBC, 0 } |
| 38 |
|
| 39 |
#endif |
| 40 |
|
| 41 |
#define CPPMDADD { "-D__i386__", NULL } |