<div dir="ltr">Dear all,<br><br>I'm using SBCL 1.1.4.0.mswin.1288-90ab477. I want to use cffi-libffi but failed. Here is what I did:<br><br>1. First, download libffi_3.0.6-1_win32.zip from <a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/">http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/</a> and drop libff-5.dll to a place that SBCL can find.<br>
2. use quicklisp to load the cffi-libffi system. However, I got the following error:<br><br>* (ql:quickload "cffi-libffi")<br>To load "cffi-libffi":<br>  Load 1 ASDF system:<br>    cffi-libffi<br>; Loading "cffi-libffi"<br>
; c:/msys/1.0/bin/gcc.exe -m32 -I/Documents and Settings/eryiju/quicklisp/dists/<br>quicklisp/software/cffi_0.11.2/ -o C:\Documents and Settings\eryiju\Application<br>Data\common-lisp\cache\sbcl-1.1.4.0.mswin.1288-90ab477-win-x86\C\Documents and S<br>
ettings\eryiju\quicklisp\dists\quicklisp\software\cffi_0.11.2\libffi\libffi-win3<br>2.exe C:\Documents and Settings\eryiju\Application Data\common-lisp\cache\sbcl-1<br>.1.4.0.mswin.1288-90ab477-win-x86\C\Documents and Settings\eryiju\quicklisp\dist<br>
s\quicklisp\software\cffi_0.11.2\libffi\libffi-win32.c<br>note: SBCL on windows can't redirect output.<br><br>debugger invoked on a SIMPLE-ERROR in thread #<THREAD "main thread" RUNNING {23D<br>A8AC1}>: External process exited with code 1.<br>
Command was: "c:/msys/1.0/bin/gcc.exe" "-m32" "-I/Documents and Settings/eryiju/<br>quicklisp/dists/quicklisp/software/cffi_0.11.2/" "-o" "C:\\Documents and Setting<br>s\\eryiju\\Application Data\\common-lisp\\cache\\sbcl-1.1.4.0.mswin.1288-90ab477<br>
-win-x86\\C\\Documents and Settings\\eryiju\\quicklisp\\dists\\quicklisp\\softwa<br>re\\cffi_0.11.2\\libffi\\libffi-win32.exe" "C:\\Documents and Settings\\eryiju\\<br>Application Data\\common-lisp\\cache\\sbcl-1.1.4.0.mswin.1288-90ab477-win-x86\\C<br>
\\Documents and Settings\\eryiju\\quicklisp\\dists\\quicklisp\\software\\cffi_0.<br>11.2\\libffi\\libffi-win32.c"<br>Output was:<br><br><br>Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.<br><br>restarts (invokable by number or by possibly-abbreviated name):<br>
  0: [RETRY ] Retry #<STANDARD-CLASS CFFI-GROVEL::PROCESS-OP> on #<GROVEL-FILE "<br>cffi-libffi" "libffi" "libffi">.<br>  1: [ACCEPT] Continue, treating #<STANDARD-CLASS CFFI-GROVEL::PROCESS-OP> on #<<br>
GROVEL-FILE "cffi-libffi" "libffi" "libffi"> as having been successful.<br>  2: [ABORT ] Give up on "cffi-libffi"<br>  3:          Exit debugger, returning to top level.<br><br>(CFFI-GROVEL::INVOKE #<unavailable argument> "-m32" "-I/Documents and Settings/e<br>
ryiju/quicklisp/dists/quicklisp/software/cffi_0.11.2/" "-o" "C:\\Documents and S<br>ettings\\eryiju\\Application Data\\common-lisp\\cache\\sbcl-1.1.4.0.mswin.1288-9<br>0ab477-win-x86\\C\\Documents and Settings\\eryiju\\quicklisp\\dists\\quicklisp\\<br>
software\\cffi_0.11.2\\libffi\\libffi-win32.exe" "C:\\Documents and Settings\\er<br>yiju\\Application Data\\common-lisp\\cache\\sbcl-1.1.4.0.mswin.1288-90ab477-win-<br>x86\\C\\Documents and Settings\\eryiju\\quicklisp\\dists\\quicklisp\\software\\c<br>
ffi_0.11.2\\libffi\\libffi-win32.c")<br>0]<br><br>I noticed that .....\cffi_0.11.2\libffi\libffi-win32.c does NOT exist, even in git repository. <br>What should I do now?<br><br>BTW: How to change gcc's location? I used grep in cffi's directory but can't find it.<br>
My MinGW was installed somewhere else, I had to copy it to c:/msys/1.0/bin so that cffi-libffi can find it (I saw a "can't fork" error message before doing so).<br><br>Thanks in advance.<br><br>- Rujia<br><br>
</div>