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 / mips / dec-osf1.h < prev    next >
C/C++ Source or Header  |  1995-06-15  |  2KB  |  64 lines

  1. /* Definitions of target machine for GNU compiler.  DECstation (OSF/1) version.
  2.    Copyright (C) 1992 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, 59 Temple Place - Suite 330,
  19. Boston, MA 02111-1307, USA.  */
  20.  
  21. #define DEC_OSF1
  22.  
  23. #define CPP_PREDEFINES "\
  24. -D__ANSI_COMPAT -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD \
  25. -Dbsd4_2 -Dhost_mips -Dmips -Dosf -Dunix \
  26. -Asystem(unix) -Asystem(xpg4) -Acpu(mips) -Amachine(mips)"
  27.  
  28. #define LINK_SPEC "\
  29. %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
  30. %{bestGnum} %{shared} %{non_shared} \
  31. %{call_shared} %{no_archive} %{exact_version} \
  32. %{!shared: %{!non_shared: %{!call_shared: -non_shared}}}"
  33.  
  34. #include "mips/ultrix.h"
  35.  
  36. /* Specify size_t and wchar_t types.  */
  37. #undef    SIZE_TYPE
  38. #undef    WCHAR_TYPE
  39. #undef    WCHAR_TYPE_SIZE
  40.  
  41. #define SIZE_TYPE    "long unsigned int"
  42. #define WCHAR_TYPE    "short unsigned int"
  43. #define WCHAR_TYPE_SIZE SHORT_TYPE_SIZE
  44.  
  45. #undef CPP_SPEC
  46. #define CPP_SPEC "\
  47. %{.S:    -D__LANGUAGE_ASSEMBLY__ -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
  48. %{.s:    -D__LANGUAGE_ASSEMBLY__ -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
  49. %{.cc:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  50. %{.cxx:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  51. %{.C:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  52. %{.m:    -D__LANGUAGE_OBJECTIVE_C__ -D__LANGUAGE_OBJECTIVE_C} \
  53. %{!.S:%{!.s:    -D__LANGUAGE_C__  -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}} \
  54. %{mlong64:-D__PTRDIFF_TYPE__=long\\ int} \
  55. %{!mlong64:-D__PTRDIFF_TYPE__=int} \
  56. %{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \
  57. %{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}"
  58.  
  59. /* turn off collect2 COFF support, since ldfcn now has elf declaration */
  60. #undef OBJECT_FORMAT_COFF
  61.  
  62. #undef MACHINE_TYPE
  63. #define MACHINE_TYPE "DECstation running DEC OSF/1"
  64.