This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: compiling multiple source files at once
- To: Per Bothner <per at bothner dot com>
- Subject: Re: compiling multiple source files at once
- From: Andreas Jaeger <aj at suse dot de>
- Date: 06 Feb 2001 10:56:42 +0100
- Cc: java at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- References: <m2n1c0k12a.fsf@kelso.bothner.com>
Per Bothner <per@bothner.com> writes:
> There are other advantages becsides compilation speed. For Java, we
> can add an extra flag specifying that an emtire "package" is being
> compiled, which allows valuable optimizations. In any case, we can
> save space due to reduced duplication of things like string literals.
This also allows to do optimizions not only on a single file level but
on an number of files. One compiler on a Sun I used had this feature
which lead to further speedup.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj