This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix sizeof checking for cross compile
On Fri, Nov 22, 2002 at 09:31:29PM +0000, Joseph S. Myers wrote:
> On Fri, 22 Nov 2002, H. J. Lu wrote:
>
> > There are several different sizeof checks in gcc. Not everyone supports
> > canadian cross compile. This patch moves AC_COMPILE_CHECK_SIZEOF from
> > libjava to config/accross.m4 and makes everyone to use the same check.
>
> Although this patch may make sense in the short term, it would be of more
> long-term use to work towards using Autoconf 2.5x (which has built-in
> support for sizeof checks when cross-compiling).
>
I have no desire to force everyone to use autoconf 2.5x. But I do want
to build gcc with a cross compiler.
H.J.