1 /* Definitions of target machine for GNU compiler, for HP PA-RISC 1.1
2 Copyright (C) 1991, 1995, 1996 Free Software Foundation, Inc.
3 Contributed by Tim Moore (moore@defmacro.cs.utah.edu)
5 This file is part of GNU CC.
7 GNU CC 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 2, or (at your option)
12 GNU CC 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.
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
23 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1)
24 #define CPP_PREDEFINES "-Dhppa -Dunix -Dhp9000 -Dspectrum -DREVARGV -Dhp700 -DHP700 -Dparisc -D__pa_risc -DPARISC -DBYTE_MSF -DBIT_MSF -Asystem(unix) -Asystem(mach) -Acpu(hppa) -Amachine(hppa)"
26 #define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -Dunix -Dhp9000 -Dhp800 -Dspectrum -DREVARGV -Dparisc -D__pa_risc -DPARISC -DBYTE_MSF -DBIT_MSF -Asystem(unix) -Asystem(mach) -Acpu(hppa) -Amachine(hppa)"
29 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
30 we want to retain compatibility with older gcc versions. */
31 #define DEFAULT_PCC_STRUCT_RETURN 0
33 /* OSF1 on the PA still uses 16bit wchar_t. */
35 #undef WCHAR_TYPE_SIZE
37 #define WCHAR_TYPE "short unsigned int"
38 #define WCHAR_TYPE_SIZE 16
40 /* OSF1 wants to be different and use unsigned long as size_t. */
42 #define SIZE_TYPE "long unsigned int"