lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since f74ec77 was a7de7182, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 14 years ago |
Added pcc source tree (contents of pcc-1.0.0.tgz)
|
-
Property mode
set to
100644
|
File size:
794 bytes
|
Line | |
---|
1 | #ifndef LIBDIR
|
---|
2 | #define LIBDIR "/usr/lib/"
|
---|
3 | #endif
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Currently only supports console applications.
|
---|
7 | */
|
---|
8 |
|
---|
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
|
---|
22 |
|
---|
23 | #define CPPMDADD { "-D__i386__", NULL }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.