Usermode/AxWin4 - Fix broken map impl causing pixel->window mapping to fail
[tpg/acess2.git] / Externals / cross-compiler / patches / gcc / gcc / config / acess2.h
1 #undef TARGET_OS_CPP_BUILTINS
2 #define TARGET_OS_CPP_BUILTINS()      \
3   do {                                \
4     builtin_define_std ("acess2");      \
5     builtin_define_std ("unix");      \
6     builtin_assert ("system=acess2");   \
7     builtin_assert ("system=unix");   \
8   } while(0);
9
10 #define LIB_SPEC        "-lc -lld-acess -lposix"
11 #define LIBSTDCXX "c++"
12 #undef STARTFILE_SPEC
13 #undef ENDFILE_SPEC
14 #define STARTFILE_SPEC  "crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s} %{shared:crt0S.o%s;:crt0.o%s}"
15 #define ENDFILE_SPEC    "%{static:crtendT.o%s;shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
16 #undef LINK_SPEC
17 #define LINK_SPEC       "%{shared:-shared} %{!shared:%{!static:%{rdynamic:-export-dynamic}%{!dynamic-linker:-dynamic-linker /Acess/Libs/ld-acess.so}}}"
18
19 /*
20 #undef TARGET_VERSION                                     // note that adding these two lines cause an error in gcc-4.7.0
21 #define TARGET_VERSION fprintf(stderr, " (i386 acess2)"); // the build process works fine without them until someone can work out an alternative
22 */
23

UCC git Repository :: git.ucc.asn.au