newlisp builds with libffi on OpenBSD 5.9

Started by rickyboy, April 06, 2016, 08:22:31 AM

Previous topic - Next topic

rickyboy

Well, the title says it all.  This is in response to a question Ted had http://www.newlispfanclub.alh.net/forum/viewtopic.php?f=2&p=23650#p23650">here.



I just happen to have an OpenBSD 5.9 system with libffi installed


$ uname -srm
OpenBSD 5.9 amd64
$ pkg_info -Q libffi
libffi-3.2.1p0 (installed)

I successfully built newlisp-10.7.0 with libffi, just now


~/builds/newlisp-10.7.0 $ ./newlisp
newLISP v.10.7.0 64-bit on BSD IPv4/6 UTF-8 libffi, options: newlisp -h

> (import "libc.so.84.2" "atof" "double" "char*")
atof@F9D5A9BEB00
> (atof "3.141")
3.141

But bare in mind that if you (package) install newlisp-10.7.0 via `pkg_add newlisp`, it is NOT built with libffi.
(λx. x x) (λx. x x)

TedWalther

#1
Thank you, I'll submit a patch to them soon.
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.