This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Gcl-devel] Re: portable cdecl 'elliptic' function calls
- From: Tom Tromey <tromey at redhat dot com>
- To: "Mike Thomas" <miketh at brisbane dot paradigmgeo dot com>
- Cc: <gcc at gcc dot gnu dot org>, <axiom-developer at nongnu dot org>, <maxima at mail dot ma dot utexas dot edu>, <acl2 at lists dot cc dot utexas dot edu>, <gcl-devel at gnu dot org>
- Date: 31 Jul 2003 18:34:03 -0600
- Subject: Re: [Gcl-devel] Re: portable cdecl 'elliptic' function calls
- References: <54vftj1xzl.fsf@intech19.enhanced.com><MFEIIPBIPCKFPICNGIJNOENDDIAA.miketh@brisbane.paradigmgeo.com>
- Reply-to: tromey at redhat dot com
>>>>> "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