]>
Commit | Line | Data |
---|---|---|
416ac4d4 | 1 | /* Definitions for kOpenSolaris-based GNU systems with ELF format |
a5544970 | 2 | Copyright (C) 2004-2019 Free Software Foundation, Inc. |
416ac4d4 RM |
3 | Contributed by Robert Millan. |
4 | ||
5 | This file is part of GCC. | |
6 | ||
7 | GCC is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 3, or (at your option) | |
10 | any later version. | |
11 | ||
12 | GCC is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with GCC; see the file COPYING3. If not see | |
19 | <http://www.gnu.org/licenses/>. */ | |
20 | ||
107fd1c1 JM |
21 | #undef GNU_USER_TARGET_OS_CPP_BUILTINS |
22 | #define GNU_USER_TARGET_OS_CPP_BUILTINS() \ | |
416ac4d4 RM |
23 | do \ |
24 | { \ | |
25 | builtin_define ("__OpenSolaris_kernel__"); \ | |
26 | builtin_define ("__GLIBC__"); \ | |
27 | builtin_define_std ("unix"); \ | |
28 | builtin_assert ("system=unix"); \ | |
29 | builtin_assert ("system=posix"); \ | |
30 | } \ | |
31 | while (0) | |
32 | ||
b4c522fa IB |
33 | #define GNU_USER_TARGET_D_OS_VERSIONS() \ |
34 | do { \ | |
35 | builtin_version ("Solaris"); \ | |
36 | builtin_version ("CRuntime_Glibc"); \ | |
37 | } while (0) | |
38 | ||
e24609cf JM |
39 | #undef GNU_USER_DYNAMIC_LINKER |
40 | #define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1" |