|
|
1.1 root 1: /* Definitions of target machine for GNU compiler.
2: Motorola m88100 running DG/UX.
1.1.1.2 ! root 3: Copyright (C) 1988, 89, 90, 91, 93, 94, 1995 Free Software Foundation, Inc.
1.1 root 4: Contributed by Michael Tiemann ([email protected])
5: Currently maintained by ([email protected])
6:
7: This file is part of GNU CC.
8:
9: GNU CC is free software; you can redistribute it and/or modify
10: it under the terms of the GNU General Public License as published by
11: the Free Software Foundation; either version 2, or (at your option)
12: any later version.
13:
14: GNU CC is distributed in the hope that it will be useful,
15: but WITHOUT ANY WARRANTY; without even the implied warranty of
16: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17: GNU General Public License for more details.
18:
19: You should have received a copy of the GNU General Public License
20: along with GNU CC; see the file COPYING. If not, write to
1.1.1.2 ! root 21: the Free Software Foundation, 59 Temple Place - Suite 330,
! 22: Boston, MA 02111-1307, USA. */
1.1 root 23:
24: #include "m88k/dgux.h"
25:
26: /* dgux.h builds an elf gcc which compiles elf objects by default.
27: dguxbcs.h builds a bcs gcc which compiles bcs objects by default.
28: The default can be overridden in either case with -msvr3 and -msvr4 */
29:
30: /* Default switches */
31: #undef TARGET_DEFAULT
32: #define TARGET_DEFAULT (MASK_CHECK_ZERO_DIV | \
33: MASK_OCS_DEBUG_INFO | \
34: MASK_OCS_FRAME_POSITION | \
35: MASK_SVR3)
36:
37: /* Assembler support (-V, silicon filter, legends for mxdb). */
38: #undef ASM_SPEC
39: #define ASM_SPEC "\
40: %{V} %{v:%{!V:-V}} %{pipe:%{!.s: - }\
41: %{msvr4:%{!m88110:-KV3 }%{m88110:-KV04.00 }}}\
42: %{!mlegend:%{mstandard:-Wc,off}}\
1.1.1.2 ! root 43: %{mlegend:-Wc,-fix-bb,-s\"%i\"\
1.1 root 44: %{traditional:,-lc}%{!traditional:,-lansi-c}\
45: %{mstandard:,-keep-std}\
46: %{mkeep-coff:,-keep-coff}\
47: %{mexternal-legend:,-external}\
48: %{mocs-frame-position:,-ocs}}"
49:
50: /* If -m88100 is in effect, add -Dm88100; similarly for -m88110.
51: Here, the CPU_DEFAULT is assumed to be -m88000. If not -ansi,
52: -traditional, or restricting include files to one specific source
53: target, specify full DG/UX features. */
54: #undef CPP_SPEC
55: #define CPP_SPEC "%{!m88000:%{!m88100:%{m88110:-D__m88110__}}} \
56: %{!m88000:%{!m88110:%{m88100:-D__m88100__}}} \
57: %{!ansi:%{!traditional:-D__OPEN_NAMESPACE__}} \
58: %{!msvr4:-D_M88KBCS_TARGET} %{msvr4:-D_DGUX_TARGET}"
59:
60: /* Linker and library spec's.
61: -msvr3 is the default if -msvr4 is not specified. */
62: #undef LIB_SPEC
1.1.1.2 ! root 63: #define LIB_SPEC "%{msvr4:%{!shared:-lstaticdgc}} %{!shared:%{!symbolic:-lc}}"
1.1 root 64: #undef STARTFILE_SPEC
65: #define STARTFILE_SPEC "%{!shared:%{!symbolic:%{pg:gcrt0.o%s} \
66: %{!pg:%{p:/lib/mcrt0.o}%{!p:/lib/crt0.o}} \
67: %{!msvr4:m88kdgux.ld%s bcscrtbegin.o%s} \
68: %{msvr4:crtbegin.o%s} \
69: %{svr4:%{ansi:/lib/values-Xc.o} \
70: %{!ansi:%{traditional:/lib/values-Xt.o} \
71: %{!traditional:/usr/lib/values-Xa.o}}}}}"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.