Subject: how to use FFI on win32?

From: KURODA Hisao <[email-masked]>
Date: 29 Oct 1998 19:57:14 +0900

hello.

Does anyone know
How can I use FFI(Foreign Function Call Facility) on win32?

I think perhaps I should make CLISP by cygwin32, but I failed.
Followings are my operation and error messages.

% cd clisp-1998-09-09
% ./configure
% cd src
% makekemake --with-readline --with-gettext --with-dynamic-ffi > Makefile  
% make
.....
.....
gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O -DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o graph.o foreign.o unixaux.o ari80386.o modules.o libtermcap.a libintl.a libreadline.a libavcall.a libcallback.a     -o lisp.run       
.....
.....
./lisp.run -m 750KW -N locale -x "(load \"init.lsp\") (sys::%saveinitmem) (exit)"
(d:\clisp\cygwin32\clisp-1998-09-09\src\lisp.run 19441) In cygwin_except_handler
.....
.....
(d:\clisp\cygwin32\clisp-1998-09-09\src\lisp.run 19441) In cygwin_except_handler 
(d:\clisp\cygwin32\clisp-1998-09-09\src\lisp.run 19441) Error while dumping state (probably corrupted stack)                                                    
make: *** [interpreted.mem] Error 2

% gcc --version
cygnus-2.7.2-970404

Vielen Dank.

;;; $Id: .signature,v 1.3 1996/09/20 07:06:26 kuroda Exp $
(define (KURODA Hisao)
  (email [email-masked]))