This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Bootstrapping mainline GNAT fails (with workaround androot cause: makefile bug)
Florian Weimer <fw@deneb.enyo.de> writes:
|> Andreas Jaeger <aj@suse.de> writes:
|>
|> >> I'm not sure if anyone cares, but that's definitely a regression from GCC
|> >> 2.95.x. I've been building GCC in a subdirectory of the source directory
|> >> for years.
|> >
|> > AFAIK A (new, empty) subdirectory of the source dir should work - what
|> > is not supported is building directly in the source dir. If this is
|> > broken, it should get fixed,
|>
|> install.texi reads:
|>
|> | First, we @strong{highly} recommend that GCC be built into a
|> | separate directory than the sources which does @strong{not} reside
|> | within the source tree. This is how we generally build GCC; building
|> | where @var{srcdir} == @var{objdir} should still work, but doesn't
|> | get extensive testing; building where @var{objdir} is a subdirectory
|> | of @var{srcdir} is unsupported.
|>
|> That's why I didn't care about the breakage in the Ada run-time
|> library when OBJDIR is a subdirectory of SRCDIR.
If you apply my patch, it will work.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."