This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA]: Slight toplev.c initialization rearrangement


On Tue, Aug 13, 2002 at 09:35:15PM +0100, Neil Booth wrote:
>       * toplev.c (parse_options_and_default_flags): Don't call
>       post_options here.
>       (general_init): Initialize GC, pools and tree hash here,
>       instead of lang_independent_init.
>       (lang_independent_init): Rename backend_init.
>       (do_compile): Call post_options hook; exit early if there
>       have been errors after switch processing.
>       (toplev_main): Update.

It looks like this patch breaks glibc, which uses the
SUNPRO_DEPENDENCIES environment variable.  With the current
head of CVS, this variable appears to be completely ignored ...

The failing command looks like this:

echo '#include "../posix/bits/posix1_lim.h"' |          \
SUNPRO_DEPENDENCIES='/home/weigand/current/glibc-build/bits/stdio_lim.dT /home/weigand/current/glibc-build/bits/stdio_lim.st'  \
/home/weigand/fsf/gcc-head-install/bin/gcc [various -I options] -E -dM -xc - -o /home/weigand/current/glibc-build/bits/stdio_lim.hT

This should create a stdio_lim.dT file, which the head of CVS
does not do any more.


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand
  Linux for S/390 Design & Development
  IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
  Phone: +49-7031/16-3727   ---   Email: Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]