home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gcc-2.7.2.1-base.tgz / gcc-2.7.2.1-base.tar / fsf / gcc / config / m88k / luna.h < prev    next >
C/C++ Source or Header  |  1995-06-15  |  2KB  |  59 lines

  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 (jfriedl@omron.co.jp)
  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, 59 Temple Place - Suite 330,
  21. Boston, MA 02111-1307, 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
  28. #define DEFAULT_GDB_EXTENSIONS 0
  29.  
  30. #include "aoutos.h"
  31. #include "m88k/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 \
  40.     "-DMACH -Dm88k -Dunix -Dluna -Dluna88k -D__CLASSIFY_TYPE__=2 -Asystem(unix) -Asystem(mach) -Acpu(m88k) -Amachine(m88k)"
  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}}"
  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
  59.