This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: more cross-compiler work...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]