PR4114, 4113, 4082, 4078, (part of) 4096 plus other reports in gcc-bugs
Neil Booth
neil@daikokuya.demon.co.uk
Fri Aug 24 15:21:00 GMT 2001
Loren James Rittle wrote:-
> ``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.''
FWIW, if .../gcc is the base of the source tree (i.e. it contains the
MAINTAINERS file), ever since I started work on GCC 18 months ago I
have used .../gcc/build as my objdir. By my reading of the above
paragraph, I am violating the "@strong{not} reside in the source tree"
part. But it has not failed me even once. [I reported it as broken
once, but I was confused.] This layout isn't mixing up obj files with
source files, but nor is it a wholly separate part of the directory
tree.
I normally build GCC on Linux with gmake; it could well be different
for other OS / makefile combinations.
Neil.
More information about the Libstdc++
mailing list