1 /* Definitions of target machine for GNU compiler. DECstation (OSF/1) version.
2 Copyright (C) 1992, 1996, 1998 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)
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. */
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"
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"
35 #include "mips/mips.h"
37 /* Specify size_t and wchar_t types. */
40 #undef WCHAR_TYPE_SIZE
42 #define SIZE_TYPE "long unsigned int"
43 #define WCHAR_TYPE "short unsigned int"
44 #define WCHAR_TYPE_SIZE SHORT_TYPE_SIZE
46 #undef SUBTARGET_CPP_SIZE_SPEC
47 #define SUBTARGET_CPP_SIZE_SPEC "\
48 %{mlong64:-D__PTRDIFF_TYPE__=long\\ int} \
49 %{!mlong64:-D__PTRDIFF_TYPE__=int}"
51 /* turn off collect2 COFF support, since ldfcn now has elf declaration */
52 #undef OBJECT_FORMAT_COFF
55 #define MACHINE_TYPE "DECstation running DEC OSF/1"