This is the mail archive of the gcc@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: gcc-2.95.2: configure option --with-local-prefix


Reinhard Nissl <rnissl@gmx.de> writes:

|> Hi,
|> 
|> this option does not work, as gcc/Makefile defines includedir as
|> $(local_prefix)/include, but includedir has been defined as $(prefix)/include
|> in the toplevel Makefile.
|> 
|> I fixed the problem by overriding the orignal definition of includedir via
|> adding the keyword "override" at the start of the includedir definition in
|> gcc/Makefile.

The right fix is to rename includedir to local_includedir in
gcc/Makefile.in.  This is a long standing bug for which I have already
send patches to gcc-patches (see
http://gcc.gnu.org/ml/gcc-patches/1999-07/msg00488.html and
http://gcc.gnu.org/ml/gcc-patches/1999-05/msg00477.html).

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg


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