cross-compile configure sizeof tests

Anthony Green green@redhat.com
Wed Apr 25 05:27:00 GMT 2001


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


More information about the Java mailing list

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