2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / treelang / lang-specs.h
blob4bf8e5df927549405790e9ec08d2e2c48d6f8077
1 /* Definitions for specs for TREELANG
3 The format of the specs file is documented in gcc.c
5 Copyright (C) 1995, 96-98, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
7 This file is part of GCC.
9 GCC is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
14 GCC is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; see the file COPYING. If not, write to
21 the Free Software Foundation, 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
24 /*
25 This is the contribution to the `default_compilers' array in GCC.c for
26 treelang.
28 This file must compile with 'traditional', so no ANSI string concatenations
32 {".tree", "@treelang", NULL},
33 {".TREE", "@treelang", NULL},
34 {".tre", "@treelang", NULL},
35 {".TRE", "@treelang", NULL},
36 {"@treelang",
37 "tree1\
38 %{!Q:-quiet}\
39 %{d*}\
40 %{m*}\
41 %{a}\
42 %{g*}\
43 %{O*}\
44 %{W*}\
45 %{w}\
46 %{ansi}\
47 %{v}\
48 %{--help:--help}\
49 %{pg:-p}\
50 %{p}\
51 %{f*}\
52 %{pg|p:%{fomit-frame-pointer:%e-pg or -p and -fomit-frame-pointer are incompatible}}\
53 %{S:%W{o*}%{!o*:-o %b.s}}\
54 %{!S:-o %g.s}\
55 %i\n\
56 %{!S:as %a\
57 %Y\
58 %{c:%W{o*}%{!o*:-o %w%b%O}}\
59 %{!c:-o %d%w%u%O}\
60 %g.s\
61 %A\n}\
62 ", NULL