Page 1 of 1

newlisp builds with libffi on OpenBSD 5.9

Posted: Wed Apr 06, 2016 3:22 pm
by rickyboy
Well, the title says it all. This is in response to a question Ted had here.

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

Code: Select all

$ 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

Code: Select all

~/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.

Re: newlisp builds with libffi on OpenBSD 5.9

Posted: Thu Apr 07, 2016 3:32 am
by TedWalther
Thank you, I'll submit a patch to them soon.