This is the mail archive of the mailing list for the libstdc++ project.

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

Re: Again: Bootstrap failure for objdir containing colon

On Dec 15, 2000, Gerald Pfeifer <> wrote:

> Geoffrey, what do you think about having the regression tester
> use an objdir whose name contains a colon?

One of the big problems of `make' is that there's no good way to quote
colons.  If we start actively supporting build directories containing
colons, some day someone may demand supporting source directories
containing colons too, and then there won't be anything we can do.

That said, I'm not against fixing this particular program.  The
problem is that it's relatively tricky to do.

Basically, what we need is some way to create libstdc++.INC such that
it contains full pathnames into the source and the build tree.  The
only way I could think of to do that is to run `make' recursively
passing it builddir and srcdir as full pathnames instead of the
potentially-relative names, so that the INCLUDES definition in the
Makefile gets expanded by the sub-make using the full pathnames.

Maybe we can do it with a separate, auxiliary Makefile?  The problem
still remains that we'll want to have some macros defined in both the
main Makefile and this auxiliary one.  We can't just pass INCLUDE down
to the other Makefile, because we really want INCLUDE to be expanded
in the auxiliary Makefile, with the full pathnames of srcdir and

Automake has support for `include'ing Makefile fragments.  Maybe
that's what we want to use?

Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                  aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
Free Software Evangelist    *Please* write to mailing lists, not to me

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