Gentoo Archives: gentoo-dev

From: Caleb Tennis <caleb@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] new global use flag and a new category
Date: Thu, 26 Aug 2004 16:47:59
Message-Id: 200408261146.04221.caleb@gentoo.org
In Reply to: Re: [gentoo-dev] new global use flag and a new category by Carsten Lohrke
1 > On Thursday 26 August 2004 18:02, Ciaran McCreesh wrote:
2 > > It'd help if you explained what the heck that actually did :)
3
4 When compiling a subdirectory, it basically lumps all of the headers and
5 source into one big file and sends it to the compiler, which can then use all
6 sorts of fancy optimizations since all of the compilation units are in that
7 one file, vs. multiple files. It makes compilation a LOT faster and produces
8 much more optimized binaries, at the expense of needing much more space for
9 temporary files during the compile. Also, it doesn't always get tested 100%
10 before a release, so sometimes an #include is missing which causes the
11 compilation to fail.
12
13 Caleb
14
15 --
16 gentoo-dev@g.o mailing list