home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gcc-2.4.5 / config / mips / ultrix.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-11  |  2.8 KB  |  89 lines

  1. /* Definitions of target machine for GNU compiler.  DECstation (ultrix) version.
  2.    Copyright (C) 1991 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_2 -Dhost_mips -Dmips -Dultrix -Dunix"
  25. #endif
  26.  
  27. #ifndef ASM_SPEC
  28. #define ASM_SPEC "\
  29. %{!mgas: \
  30.     %{!mrnames: %{!.s:-nocpp} %{.s: %{cpp} %{nocpp}}} \
  31.     %{pipe:%e:-pipe not supported} \
  32.     %{EL} %{!EL:-EL} \
  33.     %{EB: %e-EB not supported} \
  34.     %{mips1} %{mips2} %{mips3} \
  35.     %{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \
  36.     %{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K} \
  37.     %{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
  38.     %{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
  39.     %{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3} \
  40.     %{gcoff:-g} %{gstabs0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3}} \
  41. %{G*}"
  42. #endif
  43.  
  44. #ifndef CPP_SPEC
  45. #define CPP_SPEC "\
  46. %{.S:    -D__LANGUAGE_ASSEMBLY__ -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
  47. %{.cc:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  48. %{.cxx:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  49. %{.C:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  50. %{.m:    -D__LANGUAGE_OBJECTIVE_C__ -D__LANGUAGE_OBJECTIVE_C} \
  51. %{!.S:    -D__LANGUAGE_C__  -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
  52. #endif
  53.  
  54. #ifndef LINK_SPEC
  55. #define LINK_SPEC "\
  56. %{G*} \
  57. %{!mgas: \
  58.     %{EL} %{!EL: -EL} \
  59.     %{EB: %e-EB not supported} \
  60.     %{mips1} %{mips2} %{mips3} \
  61.     %{bestGnum}}"
  62. #endif
  63.  
  64. #ifndef LIB_SPEC
  65. #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc"
  66. #endif
  67.  
  68. #ifndef STARTFILE_SPEC
  69. #define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
  70. #endif
  71.  
  72. /* For compatibility with types.h.  */
  73. #ifndef SIZE_TYPE
  74. #define SIZE_TYPE "unsigned int"
  75. #endif
  76.  
  77. #ifndef MACHINE_TYPE
  78. #define MACHINE_TYPE "DECstation running ultrix"
  79. #endif
  80.  
  81. /* Use atexit for static constructors/destructors, instead of defining
  82.    our own exit function.  Ultrix 4.x has this, 3.x probably does not.  */
  83. #define HAVE_ATEXIT
  84.  
  85. /* Generate calls to memcpy, etc., not bcopy, etc.  */
  86. #define TARGET_MEM_FUNCTIONS
  87.  
  88. #include "mips/mips.h"
  89.