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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd63afa4dc364b7e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-26 10:28:18 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Implementing C/C++ style #include... Date: 26 Mar 2001 13:23:17 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <98m938$2iod0$1@ID-25716.news.dfncis.de> <99alrr$itf$1@nh.pace.co.uk> <99d5dj$fi4$1@nh.pace.co.uk> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 985631864 95 128.183.220.71 (26 Mar 2001 18:37:44 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 26 Mar 2001 18:37:44 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6 Xref: supernews.google.com comp.lang.ada:6063 Date: 2001-03-26T18:37:44+00:00 List-Id: Florian Weimer writes: > Anton Gibbs writes: > > > I agree that Ada is rich enough to do the programming part of systems > > development without the need for a pre-processor but my experience is > > that a pre-processor can help enormously with configuration management. > > Even for medium-sized projects, it doesn't. For example, Linux kernel > development is quite difficult because no developer can build the > kernel in more than a few configurations, but there are more then > 2**50 possible configurations. As a result, it happens all the time > that one change breaks some special configurations, and there's really > no way to test automatically for such problems. On two of my current projects, I have a requirement to support at least two different mixes of targets and/or compilers. My testing procedure includes running _all_ possible variants _every_ _time_. So yes, supporting a system like Linux, with thousands of variants, is _hard_. But that does _not_ mean preprocessing is not useful on systems with just a few variants, that can all be tested. And anyway, what is the alternative for Linux? I guess structuring it so the number of configurations is actually linear with the number of targets, but is that really possible? -- -- Stephe