This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: more cross-compiler work...
- From: Anthony Green <green at redhat dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 10 Dec 2001 07:04:46 -0800
- Subject: Re: more cross-compiler work...
- References: <86elm3h85u.fsf@megacz.com>
Adam Megacz wrote:
> I'm trying to get libffi to cross-compile, but it uses the
> AC_CHECK_SIZEOF macros, which don't work when you're cross
> compiling. The autoconf manual says that you can provide an argument
> "cross-type" to AC_CHECK_SIZEOF, which will be used as the size of the
> given type (short, double, int, etc) during a cross compile.
I'm _really_ going to try to update libffi in gcc over the next week.
The
one in sources.redhat.com:/cvs/libffi uses AC_COMPILE_CHECK_SIZEOF which
definitely works properly for cross compilers.
AG