[Gcl-devel] Re: portable cdecl 'elliptic' function calls

Tom Tromey tromey@redhat.com
Fri Aug 1 01:22:00 GMT 2003


>>>>> "Mike" == Mike Thomas <miketh@brisbane.paradigmgeo.com> writes:

Mike> The gcc source seems to imply it works on Windows but some docs
Mike> I've read on the web don't list Windows as a target platform for
Mike> libffi.  (Never built gcc so can't say which.)

libffi works fine on Windows.  You can easily find out where it works
by looking in gcc/libffi/configure.in.  There is a big case statement
that sets up the build for all the working platforms.

Things are a little different if you use the closure API.  Then you
have to look in gcc/libffi/include/ffi.h.in to see what platforms
define FFI_CLOSURES.

The "normal" API works on more platforms than the closure API.  I
think libffi works on all the Debian architectures except HPPA.
Nobody has ever done that port.

Tom



More information about the Gcc mailing list