OSDN Git Service

2002-04-12 Eric Norum <eric.norum@usask.ca>
[pf3gnuchains/gcc-fork.git] / gcc / config / sparc / lynx-ng.h
1 /* Definitions for SPARC running LynxOS, using Lynx's old as and ld.
2    Copyright (C) 1993, 1995 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, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* ??? Must redefine to get sparclite and v8 defines.  Can this be done
22    differently?  */
23
24 #undef CPP_SPEC
25 #define CPP_SPEC "%{mthreads:-D_MULTITHREADED}  \
26   %{mposix:-D_POSIX_SOURCE}  \
27   %{msystem-v:-I/usr/include_v}  \
28   %(cpp_cpu)"
29
30 /* Names to predefine in the preprocessor for this target machine.  */
31
32 #undef CPP_PREDEFINES
33 #define CPP_PREDEFINES "-Dunix -Dsparc -DLynx -DIBITS32 -Asystem=unix -Asystem=lynx -Acpu=sparc -Amachine=sparc"
34
35 /* Provide required defaults for linker switches.  */
36
37 #undef LINK_SPEC
38 #define LINK_SPEC "-e __main -T 0 %{msystem-v:-V} %{mcoff:-k}"