This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] Fix build failure on non-C99 targets
>>>>> "David" == David Daney <ddaney@avtrex.com> writes:
David> Isn't libgcj always compiled with gcc/g++/gcj? In all stage
David> one builds (or cross-compiles) that I have done, that is the
David> case. I don't see why the host compiler would ever be used for
David> compiling libgcj.
David> Am I missing something?
I think the problem is that, while GCC is C99, the target platform's
headers may not be. So, intptr_t may not be defined. As far as I
know, GCC itself doesn't ship a header which defines this.
Tom