[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Request function for library version string
From: |
Dave Allured - NOAA Affiliate |
Subject: |
Re: [Help-gsl] Request function for library version string |
Date: |
Tue, 30 Jul 2013 16:34:11 -0600 |
Jerome and Patrick,
Thank you. I am not much of a C programmer, but my understanding is
that using gsl_version from gsl/gsl_version.h would result in the
version string associated with gsl/gsl_version.h at compile time. My
problem is that in a complicated group environment, I need to identify
the version of the current shared library at run time. Thus it seems
that an inquiry function is needed. Am I missing something?
--Dave
On Tue, Jul 30, 2013 at 2:17 PM, Patrick Alken
<address@hidden> wrote:
> I believe you can access this with
>
> #include <gsl/gsl_version.h>
>
> and then the const char * variable 'gsl_version'
>
> Patrick
>
> On 07/30/2013 01:39 PM, Dave Allured - NOAA Affiliate wrote:
>>
>> Hello GSL.
>>
>> Would it be possible to add a run-time function to return the version
>> string of the current GSL library, e.g. "1.16" or "GSL version 1.16"?
>> This may be helpful for debugging under various conditions. Thank
>> you.
>>
>> --Dave
>>
>
>