@timothee

I sent you build instructions for libffi on gitter, but here they are just for 
posterity:

> I followed the instructions here:

[https://proj.goldencode.com/projects/p2j/wiki/Building_and_Installing_libffi_on_Windows](https://proj.goldencode.com/projects/p2j/wiki/Building_and_Installing_libffi_on_Windows)

Making sure to configure using the MSYS as suggested. But I used the tar.gz 
from 
[https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz](https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz)

Also, the command to configure for 32 bit (via MSYS terminal) is:
    
    
    CC="/c/Users/jyapa/Downloads/mingw32/bin/i686-w64-mingw32-gcc.exe" sh 
./configure --build=i686-w64-mingw32 --host=i686-w64-mingw32
    
    
    Run

and for 64 bit is
    
    
    CC="/c/Users/jyapa/Downloads/mingw64/bin/x86_64-w64-mingw32-gcc.exe" sh 
./configure --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32
    
    
    Run

^^ the above two configures lets you cross compile to Win64 from Win32 and 
vice-versa.

Not sure if the libs are portable across Windows or not, but I could upload 
them if needed.

Reply via email to