diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-27 00:10:15 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-27 00:10:15 +0000 |
commit | 581137123bdfa322c7fff571b4f903648a4f8125 (patch) | |
tree | 63b2be32f6dd38bcf17d841c48e044c5c31d50cb /gcc/cppmain.c | |
parent | d4800e6e121978b5a68ab8fca5a5667226a137cb (diff) | |
download | ppe42-gcc-581137123bdfa322c7fff571b4f903648a4f8125.tar.gz ppe42-gcc-581137123bdfa322c7fff571b4f903648a4f8125.zip |
* Makefile.in (STMP_FIXINC): New toggle.
(LIBGCC2_DEPS): Delete all references.
(stmp-headers): Delete target. All references either deleted
or changed to stmp-int-headers.
(all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
(LIBCPP_OBJS): Take out cppalloc.o.
(cppalloc.o): Delete target.
(stmp-int-hdrs): Depend on $(STMP_FIXINC).
(gen-protos, fix-header): Link with libiberty.a.
* build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
to empty.
* cp/Make-lang.in: Delete refs to LIBGCC2_DEPS.
* configure.in: Remove refs to strerror.
* acconfig.h: Take out NEED_DECLARATION_STRERROR.
* system.h: Take out strerror stanza.
* cpperror.c (my_strerror): Delete function.
(cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
* cppmain.c (main): Call xmalloc_set_program_name first thing.
* cppalloc.c: Delete file.
* gen-protos.c: Don't provide xrealloc.
* fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
xstrerror throughout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32200 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c index edfc8538e33..b2f1ddba17e 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -46,6 +46,8 @@ main (argc, argv) while (p != argv[0] && p[-1] != '/') --p; progname = p; + xmalloc_set_program_name (progname); + #ifdef HAVE_LC_MESSAGES setlocale (LC_MESSAGES, ""); #endif |