This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.2 PATCH: Fully support parallel gnat1/gnatbind builds
Alexandre Oliva writes:
> On May 22, 2002, Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> wrote:
>
> > I suppose VPATH = $(VPATH):@srcdir@/ada in ada/Make-lang.in should suffice
> > to achieve this only for builds including ada?
>
> Nope, you can't reference the make macro itself in a `=' macro
> definition. `:=' works, if it is sufficiently portable, but I'm
> not sure it's mandated by POSIX.
It's not; at least I haven't found it in Draft 7 of POSIX 1003.1-2001.
Anyway, we won't need the above construct at all due to the name clash
between final.c and ada/final.c, but need explicit control over which
sources and objects are used.
Rainer