newlisp builds with libffi on OpenBSD 5.9

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?

newlisp builds with libffi on OpenBSD 5.9

Postby rickyboy » Wed Apr 06, 2016 3:22 pm

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)
rickyboy
 
Posts: 554
Joined: Fri Apr 08, 2005 7:13 pm
Location: Front Royal, Virginia

Re: newlisp builds with libffi on OpenBSD 5.9

Postby TedWalther » Thu Apr 07, 2016 3:32 am

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.
TedWalther
 
Posts: 602
Joined: Mon Feb 05, 2007 1:04 am
Location: Abbotsford, BC


Return to newLISP and the O.S.

Who is online

Users browsing this forum: No registered users and 1 guest

cron