|
|
1.1 root 1: /* Definitions of target machine for GNU compiler.
2: Motorola m88100 running Omron Luna/88k.
3: Copyright (C) 1991 Free Software Foundation, Inc.
4: Contributed by Jeffery Friedl ([email protected])
5: Currently supported by Tom Wood ([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
21: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
22:
23: /* The Omron Luna/88k is MACH and uses BSD a.out, not COFF or ELF. */
24: #ifndef MACH
25: #define MACH
26: #endif
27: #define DBX_DEBUGGING_INFO
1.1.1.2 root 28: #define DEFAULT_GDB_EXTENSIONS 0
1.1 root 29:
30: #include "aoutos.h"
31: #include "m88k.h"
32:
33: /* Identify the compiler. */
34: #undef VERSION_INFO1
35: #define VERSION_INFO1 "Omron Luna/88k, "
36:
37: /* Macros to be automatically defined. */
38: #undef CPP_PREDEFINES
39: #define CPP_PREDEFINES \
1.1.1.3 ! root 40: "-DMACH -Dm88k -Dunix -Dluna -Dluna88k -D__CLASSIFY_TYPE__=2"
! 41:
! 42: /* If -m88000 is in effect, add -Dmc88000; similarly for -m88100 and -m88110.
! 43: However, reproduce the effect of -Dmc88100 previously in CPP_PREDEFINES.
! 44: Here, the CPU_DEFAULT is assumed to be -m88100. */
! 45: #undef CPP_SPEC
! 46: #define CPP_SPEC "%{m88000:-D__mc88000__} \
! 47: %{!m88000:%{m88100:%{m88110:-D__mc88000__}}} \
! 48: %{!m88000:%{!m88100:%{m88110:-D__mc88110__}}} \
! 49: %{!m88000:%{!m88110:%{!ansi:%{traditional:-Dmc88100}} \
! 50: -D__mc88100__ -D__mc88100}}"
1.1 root 51:
52: /* Specify extra dir to search for include files. */
53: #undef SYSTEM_INCLUDE_DIR
54: #define SYSTEM_INCLUDE_DIR "/usr/mach/include"
55:
56: /* For the Omron Luna/88k, a float function returns a double in traditional
57: mode (and a float in ansi mode). */
58: #undef TRADITIONAL_RETURN_FLOAT
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.