diff options
author | timjosling <timjosling@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-05 04:24:18 +0000 |
---|---|---|
committer | timjosling <timjosling@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-05 04:24:18 +0000 |
commit | 093e265a685ad7f1ee80eef067107506ee6ba1ff (patch) | |
tree | f9f7f1ab980437234d5a7681a7427727d00adb41 /gcc/treelang/lang-specs.h | |
parent | e674ed1be813e87aa63608a55b693b795bcc47b6 (diff) | |
download | gcc-093e265a685ad7f1ee80eef067107506ee6ba1ff.tar.gz |
Added new sample language treelang.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53169 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang/lang-specs.h')
-rw-r--r-- | gcc/treelang/lang-specs.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/gcc/treelang/lang-specs.h b/gcc/treelang/lang-specs.h new file mode 100644 index 00000000000..4bf8e5df927 --- /dev/null +++ b/gcc/treelang/lang-specs.h @@ -0,0 +1,63 @@ +/* Definitions for specs for TREELANG + + The format of the specs file is documented in gcc.c + + Copyright (C) 1995, 96-98, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +/* + This is the contribution to the `default_compilers' array in GCC.c for + treelang. + + This file must compile with 'traditional', so no ANSI string concatenations + +*/ + +{".tree", "@treelang", NULL}, +{".TREE", "@treelang", NULL}, +{".tre", "@treelang", NULL}, +{".TRE", "@treelang", NULL}, +{"@treelang", + "tree1\ + %{!Q:-quiet}\ + %{d*}\ + %{m*}\ + %{a}\ + %{g*}\ + %{O*}\ + %{W*}\ + %{w}\ + %{ansi}\ + %{v}\ + %{--help:--help}\ + %{pg:-p}\ + %{p}\ + %{f*}\ + %{pg|p:%{fomit-frame-pointer:%e-pg or -p and -fomit-frame-pointer are incompatible}}\ + %{S:%W{o*}%{!o*:-o %b.s}}\ + %{!S:-o %g.s}\ + %i\n\ + %{!S:as %a\ + %Y\ + %{c:%W{o*}%{!o*:-o %w%b%O}}\ + %{!c:-o %d%w%u%O}\ + %g.s\ + %A\n}\ + ", NULL +}, |