This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: preprocessing infrastructure


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]