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-osf1.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-02  |  1.7 KB  |  54 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, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #define DEC_OSF1
  21.  
  22. #define CPP_PREDEFINES "\
  23. -D__ANSI_COMPAT -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD \
  24. -Dbsd4_2 -Dhost_mips -Dmips -Dosf -Dunix \
  25. -Asystem(unix) -Asystem(xpg4) -Acpu(mips) -Amachine(mips)"
  26.  
  27. #define LINK_SPEC "\
  28. %{G*} \
  29. %{!mgas: \
  30.     %{EL} %{!EL: -EL} \
  31.     %{EB: %e-EB not supported} \
  32.     %{mips1} %{mips2} %{mips3} %{bestGnum} \
  33.     %{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} \
  34.     %{!shared: %{!non_shared: %{!call_shared: -non_shared}}}}"
  35.  
  36. #include "mips/ultrix.h"
  37.  
  38. /* Specify size_t, ptrdiff_t, and wchar_t types.  */
  39. #undef    SIZE_TYPE
  40. #undef    PTRDIFF_TYPE
  41. #undef    WCHAR_TYPE
  42. #undef    WCHAR_TYPE_SIZE
  43.  
  44. #define SIZE_TYPE    "long unsigned int"
  45. #define PTRDIFF_TYPE    "int"
  46. #define WCHAR_TYPE    "short unsigned int"
  47. #define WCHAR_TYPE_SIZE SHORT_TYPE_SIZE
  48.  
  49. /* turn off collect2 COFF support, since ldfcn now has elf declaration */
  50. #undef OBJECT_FORMAT_COFF
  51.  
  52. #undef MACHINE_TYPE
  53. #define MACHINE_TYPE "DECstation running DEC OSF/1"
  54.