Import gcc-2.8.1.tar.bz2
[official-gcc.git] / gcc / config / mips / dec-osf1.h
blobcc0e7e15a0a3170a4f67f3cfe15e3fd91de6d517
1 /* Definitions of target machine for GNU compiler. DECstation (OSF/1) version.
2 Copyright (C) 1992, 1996 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 #define DEC_OSF1
23 #define CPP_PREDEFINES "\
24 -D__ANSI_COMPAT -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD \
25 -Dbsd4_2 -Dhost_mips -Dmips -Dosf -Dunix \
26 -Asystem(unix) -Asystem(xpg4) -Acpu(mips) -Amachine(mips)"
28 #define LINK_SPEC "\
29 %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
30 %{bestGnum} %{shared} %{non_shared} \
31 %{call_shared} %{no_archive} %{exact_version} \
32 %{!shared: %{!non_shared: %{!call_shared: -non_shared}}}"
34 #include "mips/ultrix.h"
36 /* Specify size_t and wchar_t types. */
37 #undef SIZE_TYPE
38 #undef WCHAR_TYPE
39 #undef WCHAR_TYPE_SIZE
41 #define SIZE_TYPE "long unsigned int"
42 #define WCHAR_TYPE "short unsigned int"
43 #define WCHAR_TYPE_SIZE SHORT_TYPE_SIZE
45 #undef SUBTARGET_CPP_SIZE_SPEC
46 #define SUBTARGET_CPP_SIZE_SPEC "\
47 %{mlong64:-D__PTRDIFF_TYPE__=long\\ int} \
48 %{!mlong64:-D__PTRDIFF_TYPE__=int}"
50 /* turn off collect2 COFF support, since ldfcn now has elf declaration */
51 #undef OBJECT_FORMAT_COFF
53 #undef MACHINE_TYPE
54 #define MACHINE_TYPE "DECstation running DEC OSF/1"