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]

RE: cross-compile configure sizeof tests


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


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