racket/src/foreign
Matthew Flatt 03259ef539 MinGW-w64 support
For now, SGC must be used, but `configure' does not select it
automatically.

Also, support Cygwin (in addition to MSYS) as a build environment
when using MinGW compilers. Since I build in a Cygwin environment
(which seemed to be the easiest way to get MinGW-w64 gcc), I use

  ../configure --host=x86_64-w64-mingw32 --enable-sgc
2012-12-28 11:06:46 -06:00
..
libffi MinGW-w64 support 2012-12-28 11:06:46 -06:00
foreign.c win32: support MinGW build 2012-12-09 11:26:02 -07:00
foreign.rktc win32: support MinGW build 2012-12-09 11:26:02 -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.