[Top][All Lists]

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

Re: using GSL with cblas via FFI

From: Andy Wingo
Subject: Re: using GSL with cblas via FFI
Date: Thu, 31 Mar 2011 17:18:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Sat 26 Mar 2011 10:53, Johan Hidding <address@hidden> writes:

> Hello Ludo',
> I had a chat with Mark Weaver on IRC; he could reproduce the error.
> The output shows basic GSL working, but GSL+CBLAS failing. I found a
> way to -combine the static versions into a single shared library using
> a trick I found on StackOverflow:
>> gcc -shared -o -Wl,--whole-archive libgsl.a libgslcblas.a 
>> -Wl,--no-whole-archive
> Then the code works fine. A C program using GSL is normally compiled
> using -lgsl -lgslcblas, as the CBLAS functionality is optional.

Does that mean that gslcblas should be opened with RTDL_GLOBAL or


reply via email to

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