From 13bdb4e26a1afccb96b2b68741cfaf90b1b6c1f0 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Fri, 9 Dec 1994 15:10:41 -0800 Subject: [PATCH] * gcc.c (default_compilers): Add support for Chill (.ch and .chi). From-SVN: r8637 --- gcc/gcc.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gcc/gcc.c b/gcc/gcc.c index 79ea18563d6..efa2c3cd3d8 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++"}, -- 2.30.2