Annotation of gcc/config/decrose.h, revision 1.1.1.2

1.1       root        1: /* Definitions of target machine for GNU compiler.  DECstation (OSF/1 with OSF/rose) 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: #define OSF_OS
                     22: 
                     23: #include "halfpic.h"
                     24: 
                     25: #define CPP_PREDEFINES "-DOSF -DOSF1 -Dbsd4_2 -DMIPSEL -Dhost_mips -Dmips -Dunix -DR3000 -DSYSTYPE_BSD"
                     26: 
                     27: #define ASM_SPEC       "\
                     28: %{mmips-as: \
                     29:        %{pipe:%e:-pipe not supported} \
                     30:        %{EL} %{!EL:-EL} \
                     31:        %{EB: %e-EB not supported} \
1.1.1.2 ! root       32:        %{!mrnames: %{!.s:-nocpp} %{.s: %{cpp} %{nocpp}}} \
        !            33:        %{mips1} %{mips2} %{mips3} \
1.1       root       34:        %{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \
                     35:        %{g} %{g0} %{g1} %{g2} %{g3} \
                     36:        %{K} %{Q}} \
                     37:        %{v*: -v} \
                     38:        %{G*}"
                     39: 
                     40: #define ASM_FINAL_SPEC "\
                     41: %{mmips-as: %{!mno-mips-tfile: \
                     42:        \n mips-tfile %{v*: -v} %{d*} \
                     43:                        %{K: -I %b.o~} \
                     44:                        %{!K: %{save-temps: -I %b.o~}} \
                     45:                        %{c:%W{o*}%{!o*:-o %b.o}}%{!c:-o %b.o} \
                     46:                        %{.s:%i} %{!.s:%g.s}}}"
                     47: 
                     48: #define CPP_SPEC "\
                     49: %{.S:  -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
                     50: %{.cc: -D__LANGUAGE_C_PLUS_PLUS} \
                     51: %{.cxx:        -D__LANGUAGE_C_PLUS_PLUS} \
                     52: %{.C:  -D__LANGUAGE_C_PLUS_PLUS} \
                     53: %{.m:  -D__LANGUAGE_OBJECTIVE_C} \
                     54: %{!.S: -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
                     55: 
                     56: #define LINK_SPEC "\
                     57: %{G*} \
                     58: %{mmips-as: \
                     59:        %{EL} %{!EL: -EL} \
                     60:        %{EB: %e-EB not supported} \
1.1.1.2 ! root       61:        %{mips1} %{mips2} %{mips3} \
1.1       root       62:        %{bestGnum}} \
                     63: %{!mmips-as: \
                     64:        %{v*: -v} \
                     65:        %{pic-none: -noshrlib} %{noshrlib} \
                     66:        %{!pic-none: -warn_nopic} \
                     67:        %{nostdlib} %{glue}}"
                     68: 
                     69: /* For now, force static libraries instead of shared, but do so that
                     70:    does not use -noshrlib, since the old linker does not provide it.  */
                     71: #define LIB_SPEC "%{!pic-none: %{!pic-lib: -L/usr/ccs/lib }} -lc"
                     72: 
                     73: #define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
                     74: 
                     75: #define MACHINE_TYPE "DECstation running OSF/1 with OSF/rose objects"
                     76: 
                     77: #ifndef MD_EXEC_PREFIX
                     78: #define MD_EXEC_PREFIX         "/usr/ccs/gcc/"
                     79: #endif
                     80: 
                     81: #ifndef MD_STARTFILE_PREFIX
                     82: #define MD_STARTFILE_PREFIX    "/usr/ccs/lib/"
                     83: #endif
                     84: 
                     85: /* Specify size_t, ptrdiff_t, and wchar_t types.  */
                     86: #define SIZE_TYPE      "long unsigned int"
                     87: #define PTRDIFF_TYPE   "int"
                     88: #define WCHAR_TYPE     "unsigned int"
                     89: #define WCHAR_TYPE_SIZE BITS_PER_WORD
                     90: 
                     91: #if 0
                     92: #define WCHAR_TYPE     ((TARGET_WC8)                                   \
                     93:                                ? "unsigned char"                       \
                     94:                                : ((TARGET_WC16)                        \
                     95:                                        ? "short unsigned int"          \
                     96:                                        : "long unsigned int"))
                     97: #endif
                     98: 
                     99: #define TARGET_DEFAULT MASK_GAS
                    100: 
                    101: /* OSF/rose uses stabs, not ECOFF.  */
                    102: #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
                    103: 
                    104: /* Tell collect that the object format is OSF/rose.  */
                    105: #define OBJECT_FORMAT_ROSE
                    106: 
                    107: /* Use atexit for static constructors/destructors, instead of defining
                    108:    our own exit function.  */
                    109: #define HAVE_ATEXIT
                    110: 
                    111: #include "mips.h"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.