comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic.brenta@insalien.org>
Subject: Re: How to cache output of the compiler aka ccache
Date: Fri, 18 Mar 2005 02:24:28 +0100
Date: 2005-03-18T02:24:22+01:00	[thread overview]
Message-ID: <87oedh4ugj.fsf@insalien.org> (raw)
In-Reply-To: mailman.40.1111094871.23655.comp.lang.ada@ada-france.org

Marius Amado Alves writes:
>> 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.
>
> Yeah. And nowadays makefiles is mostly used as an output language
> from Configure. Write-only makefiles. Completely unreadable and
> unmantainable. And in my experience, more often than not these
> makefiles don't work. For example, building Graphviz, or ZLib on a
> Mac OS X. I end up studying the macrostructure of the code (the C
> units, which ones are libraries, which ones are programs) and then
> compiling by hand, or writing a small, readable makefile by hand,
> and eventually using Libtool (and sometimes Ranlib, another idiotic
> tool). For me Configure was a waste of time. Its 72-page manual is
> in the bin.

Hehe... C had separate compilation, but no dependency management.  To
overcome this limitation, Makefiles were created, but they were not
portable enough.  To overcome this limitation, configure scripts were
created.  At first simple, they had to take into account the
idiosyncrasies of more and more host and target platforms and became
unwieldy and fragile.  To overcome this limitation, autoconf was
created, but it still cannot possibly know everything about every host
and target platform.  To overcome this limitation, automake was
created.

Now, autoconf and automake work hand in hand, each using a mix of
several cryptic languages.  They have become so fiendlishly difficult
to maintain that few people if any at all understand how they work.
To overcome this limitation, ...

Verily this is not the Tao of Programming :)

-- 
Ludovic Brenta.




  reply	other threads:[~2005-03-18  1:24 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
2005-03-17 21:27     ` Marius Amado Alves
2005-03-18  1:24       ` Ludovic Brenta [this message]
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