[Cffi-devel] Native GSLL on Windows: Q on osicat and cffi/libffi

Mirko Vukovic mirko.vukovic at gmail.com
Thu Sep 18 14:36:03 UTC 2014


Hello,

I have built GSLL (Lieam Healy's Gnu Scientific Library interface) on CCL
on Windows 7.  I used Cygwin's version of the MinGW GCC compiler suite.
GSLL runs nicely with vast majority of tests passing (77 failures, 6
execution errors).

Main point is that this is Windows native: GSL, CCL, MinGW.

However my build procedure includes some hacks.  I am wondering if they are
- correct
- is there a cleaner/better way of doing them.

At one step I am hard-coding some constants that originate in
/usr/include/sys/stat.h into one of osicat's files.  (I copied that code
from a link that I post in the instructions).

I am wondering if I can avoid this step by teaching cffi and grovel about
that file stat.h

I have put the instructions for GSLL+CCL+Win7 on github (
http://github.com/mirkov/gsll-ccl-MinGW).  There you will find a section
OSICAT JWBM where I list the modifications.

A few lines below you will find also some modifications I did in
cffi/libffi/lilbffi-windows32.lisp.  Same question applies.

Thanks,

Mirko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20140918/a6e306f1/attachment.html>


More information about the cffi-devel mailing list