guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Integrate Guile with GNU Scientific Library


From: Matt Wette
Subject: Re: Integrate Guile with GNU Scientific Library
Date: Fri, 4 Oct 2019 15:41:52 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0



On 10/3/19 6:10 PM, Matt Wette wrote:
The FFI Helper in nyacc (https://savannah.nongnu.org/projects/nyacc) provides the functionality of swig.  You can try that.  I'd be interested in how you like that compared to swig.


I found cpp-defs may be necessary for gsl:

(define-ffi-module (gsl-multifit)
  #:pkg-config "gsl"
  #:cpp-defs '("_Float128=long double")
  #:include '("gsl/gsl_multifit.h"))

I don't know where _Float128 comes from.  The "long double" is a guess.

Matt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]