aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1994-12-09 15:10:41 -0800
committerPer Bothner <bothner@gcc.gnu.org>1994-12-09 15:10:41 -0800
commit13bdb4e26a1afccb96b2b68741cfaf90b1b6c1f0 (patch)
tree7ef85771134df615ad7ea00a347c8213dd3db090 /gcc
parente0e540793f5aab4636ba7e68a8fa39ecdf87d4d1 (diff)
downloadgcc-13bdb4e26a1afccb96b2b68741cfaf90b1b6c1f0.zip
gcc-13bdb4e26a1afccb96b2b68741cfaf90b1b6c1f0.tar.gz
gcc-13bdb4e26a1afccb96b2b68741cfaf90b1b6c1f0.tar.bz2
* gcc.c (default_compilers): Add support for Chill (.ch and .chi).
From-SVN: r8637
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcc.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 79ea185..efa2c3c 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -647,6 +647,26 @@ static struct compiler default_compilers[] =
%{traditional-cpp:-traditional}\
%{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
%i %W{o*}"},
+ {".ch", "@chill" },
+ {".chi", "@chill" },
+ {"@chill",
+ "cpp -lang-chill %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\
+ %{C:%{!E:%eGNU CHILL does not support -C without using -E}}\
+ -undef -D__GNUCHILL__=%v1 -D__GNUC_MINOR__=%v2\
+ %c %{O*:-D__OPTIMIZE__} %{traditional} %{ftraditional:-traditional}\
+ %{traditional-cpp:-traditional} %{!undef:%{!ansi:%p} %P} %{trigraphs}\
+ %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
+ %i %{!E:%g.i}%{E:%W{o*}} \n",
+ "%{!E:cc1chill %g.i %1 \
+ %{!Q:-quiet} -dumpbase %b.ch %{d*} %{m*} %{a}\
+ %{g*} %{O*} %{W*} %{w} %{pedantic*} %{itu} \
+ %{v:-version} %{pg:-p} %{p} %{f*} %{I*} \
+ %{aux-info*} %X \
+ %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
+ %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
+ %{!S:as %{R} %{j} %{J} %{h} %{d2} %a %Y %{keep-local-as-symbols:-L} \
+ %{c:%W{o*}%{!o*:-o %w%b.o}}%{!c:-o %d%w%u.o}\
+ %{!pipe:%g.s} %A\n }}"},
{".cc", "@c++"},
{".cxx", "@c++"},
{".cpp", "@c++"},