newLISP Fan Club

Forum => newLISP and the O.S. => Topic started by: rickyboy on April 06, 2016, 08:22:31 AM

Title: newlisp builds with libffi on OpenBSD 5.9
Post by: rickyboy on April 06, 2016, 08:22:31 AM
Well, the title says it all.  This is in response to a question Ted had here (//http).



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.
Title: Re: newlisp builds with libffi on OpenBSD 5.9
Post by: TedWalther on April 06, 2016, 08:32:22 PM
Thank you, I'll submit a patch to them soon.