more cross-compiler work...

Anthony Green green@redhat.com
Mon Dec 10 07:02:00 GMT 2001


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /