Re: using GSL with cblas via FFI

2012-06-03 Thread cong gu
I found libtool offers a way to make a shared library globally available. So I wrote a patch that provides `dynamic-link-global'. A call like `(dynamic-link-global "libgslcblas")' should make things work. I don't know whether it is portable, though. Documentation of libtool mentioned that not al

Re: using GSL with cblas via FFI

2012-06-03 Thread Thien-Thi Nguyen
() cong gu () Sun, 3 Jun 2012 17:04:29 -0500 I found libtool offers a way to make a shared library globally available. So I wrote a patch that provides `dynamic-link-global'. A call like `(dynamic-link-global "libgslcblas")' should make things work. I don't know whether it is por

Re: using GSL with cblas via FFI

2012-06-03 Thread Thien-Thi Nguyen
BTW, i made a similar design decision in Guile 1.4.x (see below), which now i regret, so that's why i comment: to selfishly keep you away from my regrets so that you can find your own. :-D [cc trimmed] SCM_DEFINE (scm_dynamic_link, "dynami

Re: using GSL with cblas via FFI

2012-06-03 Thread cong gu
On Sun, Jun 3, 2012 at 11:15 PM, Thien-Thi Nguyen wrote: > () cong gu > () Sun, 3 Jun 2012 17:04:29 -0500 > >   I found libtool offers a way to make a shared library globally >   available.  So I wrote a patch that provides `dynamic-link-global'. >   A call like `(dynamic-link-global "libgslcblas