Alexander Viro wrote:
> On Wed, 6 Sep 2000, Michael Elizabeth Chastain wrote:
> > We could use some more infrastructure here.
> > (1) A 'make randomconfig' tool that generates a random configuration.
> > (2) Make the architecture a configuration variable (!)
> > (3) A collection of RPM's so that people can download and install
> > all the cross tools easily.
> (0) knowledge that CONFIG_FOO15 doesn't affect anything other than set of
> source files being compiled.
> Providing better tools is nice, but simplifying the problem domain
> sometimes pays better...
So may I just suggest to repleace the usage of cpp at all with something
suitable for the task at hand and with a much more regular/stringent
better fitting into the syntax of the pure C language like m4 for
<EVEN MORE IRONY ON>
I think Java has the perfect solution for conditional compilation -
make it possible at al in a sane standard way! Coditional compilation is
like gotos (despite the fact that even every pascal implementation out
</EVEN MORE IRONY OFF>
The main problem with the CONFIG_ blah's isn't either the syntax nor
they current usage - the problem is inherent to the simple fact
that the number of possible combinations is of a very high order due
to simple combinatorics.
Hmm maybe the first irony is a quite serious suggestion at least in
the case of CONFIG_ options?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:26 EST