|
|
1.1 root 1: /* Definitions for DECstation running BSD as target machine for GNU compiler.
2: Copyright (C) 1993 Free Software Foundation, Inc.
3:
4: This file is part of GNU CC.
5:
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.
10:
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.
15:
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, 675 Mass Ave, Cambridge, MA 02139, USA. */
19:
20: #define DECSTATION
21:
22: #ifndef CPP_PREDEFINES
23: #define CPP_PREDEFINES "-D__ANSI_COMPAT \
24: -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD -Dbsd4_4 -Dhost_mips -Dmips \
25: -Dunix -D_mips -D_unix -D_host_mips -D_MIPSEB -D_R3000 \
26: -Asystem(unix) -Asystem(bsd) -Amachine(mips)"
27: #endif
28:
1.1.1.2 ! root 29: /* Always uses gas. */
1.1 root 30: #ifndef ASM_SPEC
1.1.1.2 ! root 31: #define ASM_SPEC "\
! 32: %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{v} \
! 33: %{noasmopt:-O0} \
! 34: %{!noasmopt:%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3}} \
! 35: %{g} %{g0} %{g1} %{g2} %{g3} \
! 36: %{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
! 37: %{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
! 38: %{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3} \
! 39: %{gcoff:-g} %{gcoff0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3}"
1.1 root 40: #endif
41:
42: #ifndef CPP_SPEC
43: #define CPP_SPEC "\
44: %{.cc: -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
45: %{.cxx: -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
46: %{.C: -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
47: %{.m: -D__LANGUAGE_OBJECTIVE_C__ -D__LANGUAGE_OBJECTIVE_C} \
1.1.1.2 ! root 48: %{.S: -D__LANGUAGE_ASSEMBLY__ -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
1.1 root 49: %{.s: -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
1.1.1.2 ! root 50: %{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}} \
! 51: %{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int} \
! 52: %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
! 53: %{mips3:-U__mips -D__mips=3}"
1.1 root 54: #endif
55:
1.1.1.2 ! root 56: /* Always uses GNU ld. */
1.1 root 57: #ifndef LINK_SPEC
1.1.1.2 ! root 58: #define LINK_SPEC "%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3}"
1.1 root 59: #endif
60:
61: #define LIB_SPEC ""
62: #define STARTFILE_SPEC ""
63:
64: #ifndef MACHINE_TYPE
65: #define MACHINE_TYPE "DECstation running BSD 4.4"
66: #endif
67:
68: #define TARGET_DEFAULT MASK_GAS
69: #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
70:
71: #include "mips/mips.h"
72:
73: /* Since gas and gld are standard on 4.4 BSD, we don't need these */
74: #undef MD_EXEC_PREFIX
75: #undef MD_STARTFILE_PREFIX
76: #undef ASM_FINAL_SPEC
77: #undef LIB_SPEC
78: #undef STARTFILE_SPEC
79:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.