diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-13 07:14:13 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-13 07:14:13 +0000 |
commit | 1cf79a1aab2762c587bd954504a27cc5fbde809c (patch) | |
tree | b97fcab509348e7c18c9ecbc2cb4f89b06acf1c4 /gcc/ch/lang-specs.h | |
parent | 58db67c10a683be3be6e4ea2b4e72672f90ef0ad (diff) | |
download | gcc-1cf79a1aab2762c587bd954504a27cc5fbde809c.tar.gz |
* gcc.c (do_spec_1): Add new %B operator.
(set_input): Prepare for %B.
(link_command_spec): Move up with the other tm.h-
overrideable specs. Factor out the portion conditional on
LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
(struct compiler): Just have a single spec string. All users
updated.
(default_compilers): Remove unnecessary braces.
(static_specs): Update.
(trad_capable_cpp, cpp_options, cc1_options, asm_options): New
named specs.
(C and assembly specs): Use the new named specs, as appropriate.
* objc/lang-specs.h, ch/lang-specs.h, cp/lang-specs.h,
f/lang-specs.h, java/lang-specs.h: Use the new named specs.
Remove unnecessary braces.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35008 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ch/lang-specs.h')
-rw-r--r-- | gcc/ch/lang-specs.h | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/gcc/ch/lang-specs.h b/gcc/ch/lang-specs.h index 9d286a04df0..3813e5a94fa 100644 --- a/gcc/ch/lang-specs.h +++ b/gcc/ch/lang-specs.h @@ -21,24 +21,10 @@ Boston, MA 02111-1307, USA. */ /* This is the contribution to the `default_compilers' array in gcc.c for CHILL. */ - {".ch", {"@chill"}}, - {".chi", {"@chill"}}, + {".ch", "@chill"}, + {".chi", "@chill"}, {"@chill", - {"tradcpp -lang-chill %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\ - %{C:%{!E:%eGNU CHILL does not support -C without using -E}}\ - %{!no-gcc:-D__GNUCHILL__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3}\ - %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:-D__OPTIMIZE__} \ - %{!undef:%{!ansi:%p} %P} \ - %{fshow-column} %{fno-show-column}\ - %{g*} %{W*} %{w} %{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*} %{Qn:-fno-ident} %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 %a %Y \ - %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\ - %{!pipe:%g.s} %A\n }}"}}, + "tradcpp -lang-chill %{!no-gcc:-D__GNUCHILL__=%v1} %(cpp_options)\ + %{!M:%{!MM:%{!E:%{!pipe:%g.i} |\n\ + cc1chill %{!pipe:%g.i} %(cc1_options) %{!S:-o %{|!pipe:%g.s} |\n\ + as %(asm_options) %{!pipe:%g.s} %A }}}}\n"}, |