lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since 711e7fe5 was 711e7fe5, checked in by Prutkov Alex <prutkov.alex@…>, 14 years ago |
|
Added printf module
|
-
Property mode
set to
100755
|
|
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.