[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] How to tell if igraph was compiled with GMP?
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] How to tell if igraph was compiled with GMP? |
Date: |
Wed, 2 Sep 2015 12:01:16 +0200 |
I guess he wants to do it programmatically, i.e. from C code, or by a
precompiler #ifdef.
I don't think it is possible, but please open an issue for it.
Thanks,
Gabor
On Tue, Sep 1, 2015 at 3:36 PM, Barr, Peter <address@hidden> wrote:
> Szabolcs,
>
> If you are on Linux you can do the following:
>
> ldd /your/path/lib/libigraph.so | grep gmp
> nm /your/path/lib/libigraph.so | grep gmp
>
> ldd will list dynamically linked libraries and nm will show the symbols
> (functions, etc...).
>
> -Peter
>
> On Tue, Sep 1, 2015 at 7:52 AM, Szabolcs Horvát <address@hidden> wrote:
>>
>> Dear All,
>>
>> How can I tell if a (precompiled) version of igraph was compiled with GMP?
>>
>> The results returned by some functions depend on whether they can use
>> GMP, so it is important to be able to tell if GMP is available.
>>
>> Szabolcs
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>