home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gcc-2.4.5 / config / i386 / osfelf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-10  |  2.2 KB  |  67 lines

  1. /* Definitions of target machine for GNU compiler.
  2.    Intel 386 (OSF/1 with ELF) version.
  3.    Copyright (C) 1993 Free Software Foundation, Inc.
  4.  
  5. This file is part of GNU CC.
  6.  
  7. GNU CC is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2, or (at your option)
  10. any later version.
  11.  
  12. GNU CC is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with GNU CC; see the file COPYING.  If not, write to
  19. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. #include "config/i386/osfrose.h"
  22.  
  23. #undef    CPP_PREDEFINES
  24. #define CPP_PREDEFINES "-DOSF -DOSF1 -Dunix -Di386 -Asystem(unix) -Acpu(i386) -Amachine(i386)"
  25.  
  26. #undef  CPP_SPEC
  27. #define CPP_SPEC "\
  28. %{!mrose: %{!mno-elf: -D__ELF__}} %{mrose: -D__ROSE__} %{mno-elf: -D__ROSE__} \
  29. %{.S:    %{!ansi:%{!traditional:%{!traditional-cpp:%{!ftraditional: -traditional}}}}} \
  30. %{.S:    -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
  31. %{.cc:    -D__LANGUAGE_C_PLUS_PLUS} \
  32. %{.cxx:    -D__LANGUAGE_C_PLUS_PLUS} \
  33. %{.C:    -D__LANGUAGE_C_PLUS_PLUS} \
  34. %{.m:    -D__LANGUAGE_OBJECTIVE_C} \
  35. %{!.S:    -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
  36.  
  37. /* Turn on -mpic-extern by default (change to later use -fpic.  */
  38. #undef  CC1_SPEC
  39. #define CC1_SPEC "\
  40. %{!melf: %{!mrose: %{!mno-elf: -melf }}} \
  41. %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
  42. %{pic-none:   -mno-half-pic} \
  43. %{fpic:          -mno-half-pic} \
  44. %{fPIC:          -mno-half-pic} \
  45. %{pic-lib:    -mhalf-pic} \
  46. %{pic-extern: -mhalf-pic} \
  47. %{pic-calls:  -mhalf-pic} \
  48. %{pic-names*: -mhalf-pic} \
  49. %{!pic-*: %{!fpic: %{!fPIC: -mhalf-pic}}}"
  50.  
  51. #undef    ASM_SPEC
  52. #define ASM_SPEC       "%{v*: -v}"
  53.  
  54. #undef  LINK_SPEC
  55. #define LINK_SPEC      "%{noshrlib: } %{glue: }"
  56.  
  57. #undef TARGET_VERSION_INTERNAL
  58. #undef TARGET_VERSION
  59.  
  60. #undef    I386_VERSION
  61. #define I386_VERSION " 80386, ELF objects"
  62.  
  63. #define TARGET_VERSION_INTERNAL(STREAM) fputs (I386_VERSION, STREAM)
  64. #define TARGET_VERSION TARGET_VERSION_INTERNAL (stderr)
  65.  
  66. #undef OBJECT_FORMAT_ROSE
  67.