diff options
author | Dave Brolley <brolley@cygnus.com> | 1998-06-10 12:58:43 +0000 |
---|---|---|
committer | Dave Brolley <brolley@gcc.gnu.org> | 1998-06-10 08:58:43 -0400 |
commit | e061d1ce147f95d1b6b5dede222a4fbd3ffd1194 (patch) | |
tree | 0d9d17829fb1534f63f0b18e62df0a530ab6de03 /gcc/cppmain.c | |
parent | 347b529220bcb54661b661cb4a795486d01f06fc (diff) | |
download | gcc-e061d1ce147f95d1b6b5dede222a4fbd3ffd1194.zip gcc-e061d1ce147f95d1b6b5dede222a4fbd3ffd1194.tar.gz gcc-e061d1ce147f95d1b6b5dede222a4fbd3ffd1194.tar.bz2 |
Use cpplib for cccp.
Wed Jun 10 13:41:23 1998 Dave Brolley <brolley@cygnus.com>
* cppmain.c (fatal): New function.
* configure.in (cpp_main): New configuration variable.
* configure: Regenerated.
* Makefile.in (CCCP): Use a configuration variable to select base for cccp.
(cppmain$(exeext)): Add @extra_cpp_objs@.
From-SVN: r20416
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c index c7fdf53..0a45e86 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -40,6 +40,13 @@ cpp_options options; #ifdef abort /* More 'friendly' abort that prints the line and file. config.h can #define abort fancy_abort if you like that sort of thing. */ +void +fatal (s) + char *s; +{ + fputs (s, stderr); + exit (FATAL_EXIT_CODE); +} void fancy_abort () |