racket/src/foreign
Michael Filonenko 35a093469c windows: extflonum support
Enable extflonums in a MSVC build by relying on a MinGW-built DLL,
"longdouble.dll". The DLL is loaded on startup. If the DLL isn't
available, then `extflonum-available?' reports #f.

Instead of setting the floating-point mode globally to extended
precision, the mode is changed only just before (and restored right
after) extflonum arithmetic operations.
2013-03-18 07:42:32 -07:00
..
libffi MinGW-w64 support 2012-12-28 11:06:46 -06:00
foreign.c windows: extflonum support 2013-03-18 07:42:32 -07:00
foreign.rktc windows: extflonum support 2013-03-18 07:42:32 -07:00
Makefile.in fix a problem with unboxed arguments in self tail calls 2012-07-06 08:25:05 -06:00
README work around problem with gcc-4.0 build on Lion 2012-03-12 07:45:25 -06:00
rktc-utils.rkt win32: support MinGW build 2012-12-09 11:26:02 -07:00

The "libffi" directory holds a copy of libffi (somwehere between version 3.0.9 and 3.0.10).
Similarly, The "libffi_msvc" directory holds a copy of the libffi
version from the CTypes project.

The libffi code is distributed under an LGPL-compatible license.
CTypes is under the MIT License.

========== libffi directory =============================================

Our copy of libffi for Racket has been changed in a few small
ways at git commit 3f5b1375ab1e2b8e3d59 from

 http://github.com/atgreen/libffi

Local changes:

 * Test ftruncate() result in "closures.c" to avoid a compiler
   warning.

 * Added powerpc .S patches from 2d3fb36420e09304220e

 * In "darwin.S", added ".long 0" after ".LFE3:" to avoid
   linker problems compiling with gcc-4.0 on Mac OS X 10.7.

========== libffi_msvc directory =====================================

This directory is synced from the CTypes repository

  http://svn.python.org/projects/ctypes/trunk/ctypes

revision 60274.