home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / gcc-2.5.8-src.lha / src / amiga / gcc-2.5.8 / config / mips / dec-bsd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-20  |  2.2 KB  |  72 lines

  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.  
  29. #ifndef ASM_SPEC
  30. #define ASM_SPEC "%{G*}"
  31. #endif
  32.  
  33. #ifndef CPP_SPEC
  34. #define CPP_SPEC "\
  35. %{.S:    -D__LANGUAGE_ASSEMBLY__ -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
  36. %{.cc:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  37. %{.cxx:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  38. %{.C:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  39. %{.m:    -D__LANGUAGE_OBJECTIVE_C__ -D__LANGUAGE_OBJECTIVE_C} \
  40. %{.s:    -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
  41. %{!.S:%{!.s:    -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}"
  42. #endif
  43.  
  44. #ifndef LINK_SPEC
  45. #define LINK_SPEC "%{G*}"
  46. #endif
  47.  
  48. #define LIB_SPEC ""
  49. #define STARTFILE_SPEC ""
  50.  
  51. /* For compatibility with types.h.  */
  52. #ifndef SIZE_TYPE
  53. #define SIZE_TYPE "unsigned int"
  54. #endif
  55.  
  56. #ifndef MACHINE_TYPE
  57. #define MACHINE_TYPE "DECstation running BSD 4.4"
  58. #endif
  59.  
  60. #define TARGET_DEFAULT MASK_GAS
  61. #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
  62.  
  63. #include "mips/mips.h"
  64.  
  65. /* Since gas and gld are standard on 4.4 BSD, we don't need these */
  66. #undef MD_EXEC_PREFIX
  67. #undef MD_STARTFILE_PREFIX
  68. #undef ASM_FINAL_SPEC
  69. #undef LIB_SPEC
  70. #undef STARTFILE_SPEC
  71.  
  72.