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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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!news1.google.com!proxad.net!newsfeed1.ip.tiscali.net!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mail Newsgroups: comp.lang.ada Subject: Re: How to cache output of the compiler aka ccache References: <1111085641.211767.56950@f14g2000cwb.googlegroups.com> From: Ludovic Brenta User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) Date: Thu, 17 Mar 2005 20:47:20 +0100 Message-ID: <877jk65a2f.fsf@insalien.org> Cancel-Lock: sha1:D1UJMl7RLg9Xg2pvbCvGKiKSw3A= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tiscali bv NNTP-Posting-Date: 17 Mar 2005 20:47:14 CET NNTP-Posting-Host: 83.134.244.177 X-Trace: 1111088834 dreader2.news.tiscali.nl 44100 83.134.244.177:34785 X-Complaints-To: abuse@tiscali.nl Xref: g2news1.google.com comp.lang.ada:9558 Date: 2005-03-17T20:47:14+01:00 List-Id: writes: > Hi > > 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? ccache does not work with GNAT (I tried it). However, "make clean" is seldom necessary where I work, and "gnatmake -m" does minimal recompilation. This really speeds things up. -- Ludovic Brenta.