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