This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: cross-compile configure sizeof tests
- To: <alk at pobox dot com>, <java at gcc dot gnu dot org>
- Subject: RE: cross-compile configure sizeof tests
- From: "Anthony Green" <green at redhat dot com>
- Date: Wed, 25 Apr 2001 05:34:55 -0700
- Reply-To: <green at redhat dot com>
Tony wrote:
> libffi/configure and libjava/configure use programs to test sizeof
> (among other things, I would assume). There must be a normal,
> canonical method for handling this situation when cross-compiling,
> used in other parts of gcc, but I have yet to find an example.
> Hence my question: Can someone point me to an example, and/or
> tell me explicitly how this situation is canonically treated?
The libffi configure in cvs at http://sources.redhat.com/libffi includes
sizeof tests that don't require run tests. Once this new version has
stabilized I'd like to import it into GCC.
I used ac_compile_check_sizeof.m4 from http://cryp.to/autoconf-archive/
AG