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]

Re: intl-compat.c bootstrap failure


* Kaveh R. Ghazi (ghazi@caip.rutgers.edu) [20000606 14:46]:

> There may be a way of passing the -I flags in from outside the intl
> directory through some variable used by intl/Makefile.
> This will keep the changes outside the intl directory.

Excellent idea. After having had a look at intl/Makefile there is indeed a
variable we could (mis)use. The makefile has XCFLAGS in the CFLAGS
definition. So we could define an INTL_FLAGS_TO_PASS in gcc/Makefile which
passes -DIN_GCC and necessary -I switches in XCFLAGS.

I'll give it a spin and see if that works.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h

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