[Coin-discuss] shared vs static libs

Ted Ralphs tkralphs at lehigh.edu
Wed Apr 4 16:36:34 EDT 2007


Andreas, correct me if I'm wrong, but you always get static libraries
with --enable-debug, right? I don't think it's possible to override this
behavior. You typically want static libraries when debugging, but I
think if you specify that only a particular library should be compiled
with debugging, then the others will be built shared, right?

Cheers,

Ted

Andreas Waechter wrote:
> Hi Matt,
> 
> Ok, here yes another answer:
> 
> As Lou wrote, by default, shared libraries are built if this is
> supported by the system.  However, currently it doesn't work on Windows.
> 
> If you only want static libraries, you specify --disable-shared.
> 
> If you want both static and shared libraries, you specify --enable-static.
> 
> I hope this helps,
> 
> Andreas
> 
> On Wed, 4 Apr 2007, Matthew Galati wrote:
> 
>> With the new build system, how do I indicate that I want to use shared
>> libs instead of static (and vice versa).
>>
>> Thanks,
>> Matt
>>
>>
>> _______________________________________________
>> Coin-discuss mailing list
>> Coin-discuss at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss


-- 
Dr. Ted Ralphs
Associate Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
tkralphs at lehigh.edu
www.lehigh.edu/~tkr2



More information about the Coin-discuss mailing list