High compilation time with gnat

From: Joachim Schröer (joachim.schroeer_at_dornier.eads.net)
Date: 11/26/03


Date: Wed, 26 Nov 2003 09:40:19 +0100

Hello,
we have a package spec which uses an enormous compilation time. One of the
specs it withes has about 40_000 lines of source. When I remember correctly
the gnat parser parses all specs in the closure of a given compuation unit.
This sum has a size of about 60_000 loc.
The compilation time seems to rise very nonlinear with the size of single
compilation units. The system is mainly paging to and from harddisc.
Is there a compilation switch for gnat to increase the amount of main memory
it uses or is there any other measure one may take?
Rewriting the source is no option, cause it is a delivery.

Thanks for any help
    Joachim Schröer



Relevant Pages

  • Re: High compilation time with gnat
    ... > we have a package spec which uses an enormous compilation time. ... > the gnat parser parses all specs in the closure of a given compuation unit. ...
    (comp.lang.ada)
  • Re: High compilation time with gnat
    ... > we have a package spec which uses an enormous compilation time. ... > the gnat parser parses all specs in the closure of a given compuation unit. ...
    (comp.lang.ada)