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 / i386 / osfelf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-21  |  2.6 KB  |  77 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) -Asystem(xpg4) -Acpu(i386) -Amachine(i386)"
  25.  
  26. #undef  CPP_SPEC
  27. #define CPP_SPEC "\
  28. %{mrose: -D__ROSE__ %{!pic-none: -D__SHARED__}} \
  29. %{!mrose: -D__ELF__ %{fpic: -D__SHARED__}} \
  30. %{mno-underscores: -D__NO_UNDERSCORES__} \
  31. %{!mrose: %{!munderscores: -D__NO_UNDERSCORES__}} \
  32. %{.S:    %{!ansi:%{!traditional:%{!traditional-cpp:%{!ftraditional: -traditional}}}}} \
  33. %{.S:    -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
  34. %{.cc:    -D__LANGUAGE_C_PLUS_PLUS} \
  35. %{.cxx:    -D__LANGUAGE_C_PLUS_PLUS} \
  36. %{.C:    -D__LANGUAGE_C_PLUS_PLUS} \
  37. %{.m:    -D__LANGUAGE_OBJECTIVE_C} \
  38. %{!.S:    -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
  39.  
  40. /* Turn on -mpic-extern by default (change to later use -fpic.  */
  41. #undef  CC1_SPEC
  42. #define CC1_SPEC "\
  43. %{!melf: %{!mrose: -melf }} \
  44. %{!mrose: %{!munderscores: %{!mno-underscores: -mno-underscores }}} \
  45. %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
  46. %{mrose: %{pic-none: -mno-half-pic} \
  47.      %{pic-extern: } %{pic-lib: } %{pic-calls: } %{pic-names*: } \
  48.      %{!pic-none: -mhalf-pic }}"
  49.  
  50. #undef    ASM_SPEC
  51. #define ASM_SPEC       "%{v*: -v}"
  52.  
  53. #undef  LINK_SPEC
  54. #define LINK_SPEC      "%{v*: -v} \
  55. %{mrose:    %{!noshrlib: %{pic-none: -noshrlib} %{!pic-none: -warn_nopic}} \
  56.         %{nostdlib} %{noshrlib} %{glue}} \
  57. %{!mrose:    %{dy} %{dn} %{glue: } \
  58.         %{h*} %{z*} \
  59.         %{static:-dn -Bstatic} \
  60.         %{shared:-G -dy} \
  61.         %{symbolic:-Bsymbolic -G -dy} \
  62.         %{G:-G} \
  63.         %{!dy: %{!dn: %{!static: %{!shared: %{!symbolic: \
  64.             %{noshrlib: -dn } %{pic-none: -dn } \
  65.             %{!noshrlib: %{!pic-none: -dy}}}}}}}}"
  66.  
  67. #undef TARGET_VERSION_INTERNAL
  68. #undef TARGET_VERSION
  69.  
  70. #undef    I386_VERSION
  71. #define I386_VERSION " 80386, ELF objects"
  72.  
  73. #define TARGET_VERSION_INTERNAL(STREAM) fputs (I386_VERSION, STREAM)
  74. #define TARGET_VERSION TARGET_VERSION_INTERNAL (stderr)
  75.  
  76. #undef OBJECT_FORMAT_ROSE
  77.