[Coin-discuss] shared vs static libs

Andreas Waechter andreasw at watson.ibm.com
Wed Apr 4 16:19:47 EDT 2007


Hi Matt,

> Ok - this question might not be for coin-discuss. But, what I really want to 
> know is how to set configure.ac (or ...) so that my project (which depends on 
> other COIN projects) builds all shared vs static libs? That is, how do I 
> enable my user those options you mention below.

If you follow the instructions described at

https://projects.coin-or.org/CoinHelp/wiki/pm-main

to use the COIN build tools, you will have the COIN default behavior 
(shared libraries where possible, and the options that I described in my 
previous message).

Cheers,

Andreas

>
>
>> 
>>> With the new build system, how do I indicate that I want to use shared 
>>> libs instead of static (and vice versa).
>>> 
>>> 
>> 
>> ./configure --help shows information on building static/shared libraries:
>> 
>>  --enable-shared[=PKGS]
>>                            build shared libraries [default=yes]
>>  --enable-static[=PKGS]
>>                            build static libraries [default=no]
>> 
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>



More information about the Coin-discuss mailing list