* add p cc
[mascara-docs.git] / compilers / pcc / pcc-1.0.0 / os / win32 / ccconfig.h
blob56a7811b1e52fbbc61a05be2b68a273fddbaa839
1 #ifndef LIBDIR
2 #define LIBDIR "/usr/lib/"
3 #endif
5 /*
6 * Currently only supports console applications.
7 */
9 #if defined(WIN32) && defined(MSLINKER)
10 /* requires microsoft toolkit headers and llnker */
11 #define CPPADD { "-DWIN32", NULL }
12 #define LIBCLIBS { "/subsystem:console", "msvcrt.lib", "libpcc.a", NULL }
13 #else
14 /* requires w32api-3.2.tar.gz and mingw-runtime-3.14.tar.gz */
15 #define CPPADD { "-DWIN32", "-D__MSVCRT__", "-D__MINGW32__", NULL }
16 #define STARTFILES { LIBDIR "crt2.o", NULL }
17 #define ENDFILES { NULL }
18 #define STARTFILES_S { LIBDIR "dllcrt2.o", NULL }
19 #define ENDFILES_S { NULL }
20 #define LIBCLIBS { "-lmoldname", "-lmingwex", "-lmsvcrt", "-lmingw32", "-luser32", "-lkernel32", "-lpcc", "-lmoldname", "-lmingwex", "-lmsvcrt", NULL }
21 #endif
23 #define CPPMDADD { "-D__i386__", NULL }