From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,206547e68a60b0e7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!feeder.xsnews.nl!feeder.news-service.com!post.news-service.com!news1.surfino.com!not-for-mail Message-Id: <3578679.JKbOghLj4N@linux1.krischik.com> From: Martin Krischik Subject: Re: How to cache output of the compiler aka ccache Newsgroups: comp.lang.ada Reply-To: martin@krischik.com Date: Fri, 18 Mar 2005 09:07:17 +0100 References: <1111085641.211767.56950@f14g2000cwb.googlegroups.com> Organization: None User-Agent: KNode/0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@surfino.com NNTP-Posting-Host: 83.169.175.19 (83.169.175.19) NNTP-Posting-Date: Fri, 18 Mar 2005 10:00:22 +0100 X-Trace: 6c440423a98a6f60c0ab612422 Xref: g2news1.google.com comp.lang.ada:9586 Date: 2005-03-18T09:07:17+01:00 List-Id: Hi, i-google-iasuhdkajsh@rf.risimo.net wrote: > I have a 1mio LOC project and it takes multiple hours to > build and rebuild. The C/C++ world has a nice tools (ccache > is well known here) which cache the output of the compiler. > This especially speeds up the time for a "make clean;make". > Is there such a thing for Ada in general and gcc's gnat > specially? Any other way to speed up the compilation? Tools like ccache or precompiled header files usually optimise "#include" which is indeed the main performance killer in C/C++ compilations - however Ada does not have "#include" - the with command works differently. That much for a general comment - for more specific help we would need to know which compiler you are using. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com