more cross-compiler work...
Adam Megacz
gcj@lists.megacz.com
Sun Dec 9 22:59:00 GMT 2001
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.
This doesn't make sense to me -- different platforms have different
size types. Since, in theory, you can cross-compile from any platform
to any other, how would it ever be possible to come up with a single
value that would work for all cross-compile scenarios?
- a
More information about the Java
mailing list