From: Ludovic Brenta <ludovic.brenta@insalien.org>
Subject: Re: How to cache output of the compiler aka ccache
Date: Thu, 17 Mar 2005 21:04:56 +0100
Date: 2005-03-17T21:04:52+01:00 [thread overview]
Message-ID: <87zmx23uon.fsf@insalien.org> (raw)
In-Reply-To: wcc3buurrgf.fsf@shell01.TheWorld.com
Yes, Ada defines separate compilation cleanly. C does not, and
Makefiles were created to make up for it. Makefiles can become very
complex in the presence of preprocessors or rules that build a program
that generates code which is compiled later on (this happens e.g. in
the GCC bootstrap process).
It takes a lot of care to get these Makefiles right, and even then
they tend to be very brittle. ccache was created to make up for
*that*.
The Ada model is indeed clean, simple and reliable. Sometimes, it is
necessary to supplement it to provide preprocessing facilities, or to
select the units to be compiled from a CM system. Simple scripts or
minimalistic makefiles can do that.
--
Ludovic Brenta.
next prev parent reply other threads:[~2005-03-17 20:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-17 18:54 How to cache output of the compiler aka ccache i-google-iasuhdkajsh
2005-03-17 19:40 ` Robert A Duff
2005-03-17 20:04 ` Ludovic Brenta [this message]
2005-03-17 21:27 ` Marius Amado Alves
2005-03-18 1:24 ` Ludovic Brenta
2005-03-18 2:08 ` Robert A Duff
2005-03-17 19:47 ` Ludovic Brenta
2005-03-18 19:22 ` Simon Wright
2005-03-18 20:04 ` Randy Brukardt
2005-03-18 22:10 ` Florian Weimer
2005-03-19 3:25 ` Larry Kilgallen
2005-03-18 6:58 ` i-google-iasuhdkajsh
2005-03-18 13:33 ` Robert A Duff
2005-03-18 14:01 ` Vinzent 'Gadget' Hoefler
2005-03-18 14:41 ` Florian Weimer
2005-03-18 15:08 ` Vinzent 'Gadget' Hoefler
2005-03-18 16:24 ` Florian Weimer
2005-03-21 8:16 ` Vinzent 'Gadget' Hoefler
2005-03-21 8:54 ` Florian Weimer
2005-03-21 11:26 ` Vinzent 'Gadget' Hoefler
2005-03-18 8:07 ` Martin Krischik
2005-03-18 18:50 ` i-google-iasuhdkajsh
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox