This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: compiling multiple source files at once


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

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