1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
/* Definitions of target machine for GNU compiler, for HI-UX.
Copyright (C) 1993, 1995, 1996, 2002 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* HIUX is just a HPUX variant. We can simply use the HPUX configuration
for just about everything. */
/* OS cpp builtins are the one noteworthy difference between HPUX and HIUX.
The following defines are similar to those for hpux10 with the addition
of __H3050R and __H3050RX. */
#undef TARGET_OS_CPP_BUILTINS
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
builtin_assert ("system=hiux"); \
builtin_assert ("system=unix"); \
builtin_define ("__hp9000s800"); \
builtin_define ("__hp9000s800__"); \
builtin_define ("__hiux"); \
builtin_define ("__hiux__"); \
builtin_define ("__unix"); \
builtin_define ("__unix__"); \
builtin_define ("__H3050R"); \
builtin_define ("__H3050RX"); \
if (c_language == clk_cplusplus) \
{ \
builtin_define ("_HIUX_SOURCE"); \
builtin_define ("_INCLUDE_LONGLONG"); \
} \
else if (!flag_iso) \
{ \
builtin_define ("_HIUX_SOURCE"); \
if (preprocessing_trad_p ()) \
{ \
builtin_define ("hp9000s800"); \
builtin_define ("hppa"); \
builtin_define ("hiux"); \
builtin_define ("unix"); \
builtin_define ("__CLASSIC_C__"); \
builtin_define ("_PWB"); \
builtin_define ("PWB"); \
} \
else \
builtin_define ("__STDC_EXT__"); \
} \
if (TARGET_SIO) \
builtin_define ("_SIO"); \
else \
{ \
builtin_define ("__hp9000s700"); \
builtin_define ("__hp9000s700__"); \
builtin_define ("_WSIO"); \
} \
} \
while (0)
#undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES \
{ "sio", MASK_SIO, N_("Generate cpp defines for server IO") }, \
{ "wsio", -MASK_SIO, N_("Generate cpp defines for workstation IO") },
|