Annotation of GNUtools/cc/config/m88k/luna.h, revision 1.1.1.1

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: 
                      6: This file is part of GNU CC.
                      7: 
                      8: GNU CC is free software; you can redistribute it and/or modify
                      9: it under the terms of the GNU General Public License as published by
                     10: the Free Software Foundation; either version 2, or (at your option)
                     11: any later version.
                     12: 
                     13: GNU CC is distributed in the hope that it will be useful,
                     14: but WITHOUT ANY WARRANTY; without even the implied warranty of
                     15: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     16: GNU General Public License for more details.
                     17: 
                     18: You should have received a copy of the GNU General Public License
                     19: along with GNU CC; see the file COPYING.  If not, write to
                     20: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
                     21: 
                     22: /* The Omron Luna/88k is MACH and uses BSD a.out, not COFF or ELF.  */
                     23: #ifndef MACH
                     24: #define MACH
                     25: #endif
                     26: #define DBX_DEBUGGING_INFO
                     27: #define DEFAULT_GDB_EXTENSIONS 0
                     28: 
                     29: #include "aoutos.h"
                     30: #include "m88k/m88k.h"
                     31: 
                     32: /* Identify the compiler.  */
                     33: #undef  VERSION_INFO1
                     34: #define VERSION_INFO1 "Omron Luna/88k, "
                     35: 
                     36: /* Macros to be automatically defined.  */
                     37: #undef CPP_PREDEFINES
                     38: #define CPP_PREDEFINES \
                     39:     "-DMACH -Dm88k -Dunix -Dluna -Dluna88k -D__CLASSIFY_TYPE__=2 -Asystem(unix) -Asystem(mach) -Acpu(m88k) -Amachine(m88k)"
                     40: 
                     41: /* If -m88000 is in effect, add -Dmc88000; similarly for -m88100 and -m88110.
                     42:    However, reproduce the effect of -Dmc88100 previously in CPP_PREDEFINES.
                     43:    Here, the CPU_DEFAULT is assumed to be -m88100.  */
                     44: #undef CPP_SPEC
                     45: #define        CPP_SPEC "%{m88000:-D__mc88000__} \
                     46:                  %{!m88000:%{m88100:%{m88110:-D__mc88000__}}} \
                     47:                  %{!m88000:%{!m88100:%{m88110:-D__mc88110__}}} \
                     48:                  %{!m88000:%{!m88110:%{!ansi:%{traditional:-Dmc88100}} \
                     49:                                      -D__mc88100__ -D__mc88100}}"
                     50: 
                     51: /* Specify extra dir to search for include files.  */
                     52: #undef SYSTEM_INCLUDE_DIR
                     53: #define SYSTEM_INCLUDE_DIR "/usr/mach/include"
                     54: 
                     55: /* For the Omron Luna/88k, a float function returns a double in traditional
                     56:    mode (and a float in ansi mode).  */
                     57: #undef TRADITIONAL_RETURN_FLOAT

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.