From f95e46b994d6ec4c98c05401af6c33889ce23fb0 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sun, 27 Feb 2000 00:10:15 +0000 Subject: Makefile.in (STMP_FIXINC): New toggle. * 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. From-SVN: r32200 --- gcc/cppmain.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/cppmain.c') diff --git a/gcc/cppmain.c b/gcc/cppmain.c index edfc853..b2f1ddb 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 -- cgit v1.1