newlisp builds with libffi on OpenBSD 5.9

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Locked
rickyboy
Posts: 607
Joined: Fri Apr 08, 2005 7:13 pm
Location: Front Royal, Virginia

newlisp builds with libffi on OpenBSD 5.9

Post 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.
(λx. x x) (λx. x x)

TedWalther
Posts: 608
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC
Contact:

Re: newlisp builds with libffi on OpenBSD 5.9

Post by TedWalther »

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.

Locked