This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/8657: No rule to make target `bootstrap' in directory 'gcc'
Zack Weinberg wrote:-
> In my experience, if objdir is a subdirectory of srcdir AND configure
> is invoked by a relative pathname, it doesn't work. But if configure
> is invoked by an absolute pathname, objdir can happily be a
> subdirectory of srcdir; and if objdir is not a subdirectory of srcdir,
> relative paths work fine.
>
> I don't remember the exact failure mode, but it was clearly a case of
> some shell script fragment somewhere getting mixed up about how many
> ../ components it needed to put in a pathname.
For nearly 3 years I have used
../configure --enable-languages=whatever --prefix=whatever
and it works fine. I think a '~' in prefix used to always work, but
that broke recently in libstdc++.
Neil.