This is the mail archive of the libstdc++@gcc.gnu.org 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: PR4114, 4113, 4082, 4078, (part of) 4096 plus other reports in gcc-bugs


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.


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