Patch: preprocessing infrastructure

Tom Tromey tromey@redhat.com
Sun Jul 1 15:42:00 GMT 2001


>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:

Anthony> I just realized that this only works for natives.  Is there
Anthony> any convenient way to create programs for the build machine
Anthony> at this point?

Nope.  autoconf and automake are weak on this.

I think using cpp is a mistake anyway.  My reason is that the cpp
developers tell us over and over not to use cpp for non-C/C++ uses.
And, we've seen in the past that they are willing to change cpp to
benefit C and C++ at the risk of breaking other users.  Finally I
think we don't want to even open the door to #include.  So I think we
ought to just make our own mini preprocessor, perhaps using awk.

Tom



More information about the Java-patches mailing list