[PATCH]: Conditionally reintroduce config.h to ggc-none.c

Zack Weinberg zack@codesourcery.com
Wed Sep 8 19:56:00 GMT 2004


Mohan Embar <gnustuff@thisiscool.com> writes:

> (Since this patch affects a top-level Changelog, I wasn't sure
> whether to submit it together with the Java-specific second part or
> alone as I've done here.  So much to learn....)

In this case I think it would have been best not to split it.

> It reintroduces #include "config.h" based on the macro
> GENERATOR_FILE. It's needed for the second Java-specific patch which
> needs a host-specific ggc-none.o for gcjh and jcf-dump when doing a
> cross build. The post-patch behavior should be 100% identical
> (knocking on simulated wood cabinet) to the prepatch behavior for
> the top-level build of this file because -DGENERATOR_FILE is always
> defined when building the top-level ggc-none.o.

This looks good to me; if Andrew is happy I'll approve the
language-independent bits.

zw



More information about the Java-patches mailing list