Annotation of gcc/config/sparc/lynx.h, revision 1.1.1.3

1.1       root        1: /* Definitions for SPARC running LynxOS.
1.1.1.3 ! root        2:    Copyright (C) 1993, 1995 Free Software Foundation, Inc.
1.1       root        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
1.1.1.3 ! root       18: the Free Software Foundation, 59 Temple Place - Suite 330,
        !            19: Boston, MA 02111-1307, USA.  */
1.1       root       20: 
1.1.1.3 ! root       21: #include <sparc/sparc.h>
1.1.1.2   root       22: 
                     23: #undef ASM_OUTPUT_IDENT
                     24: #undef SELECT_SECTION
                     25: #undef SELECT_RTX_SECTION
                     26: 
                     27: #define BSS_SECTION_ASM_OP     ".section\t\".bss\""
                     28: 
1.1.1.3 ! root       29: #include <lynx.h>
1.1       root       30: 
                     31: /* ??? Must redefine to get sparclite and v8 defines.  Can this be done
                     32:    differently?  */
1.1.1.2   root       33: 
1.1       root       34: #undef CPP_SPEC
1.1.1.2   root       35: #define CPP_SPEC "%{mthreads:-D_MULTITHREADED}  \
                     36:   %{mposix:-D_POSIX_SOURCE}  \
                     37:   %{msystem-v:-I/usr/include_v}  \
                     38:   %{msparclite:-D__sparclite__} %{mv8:-D__sparc_v8__}"
1.1       root       39: 
                     40: /* Names to predefine in the preprocessor for this target machine.  */
1.1.1.2   root       41: 
1.1       root       42: #undef CPP_PREDEFINES
1.1.1.2   root       43: #define CPP_PREDEFINES "-Dunix -Dsparc -DSPARC -DLynx -DLYNX -DIBITS32 -Asystem(unix) -Asystem(lynx) -Acpu(sparc) -Amachine(sparc)"
                     44: 
                     45: #undef LINK_SPEC
                     46: 
                     47: /* Sparc version of libc.a has references to libm.a (printf calls pow for
                     48:    instance), so we must always link both. */
                     49: 
                     50: #undef LIB_SPEC
                     51: #define LIB_SPEC "%{mthreads:-L/lib/thread/}  \
                     52:   %{msystem-v:-lc_v -lm_v -lc_v}  \
                     53:   %{!msystem-v:%{mposix:-lc_p} -lc -lm -lc}"

unix.superglobalmegacorp.com

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