[Top][All Lists]

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

Re: How to create optimized library?

From: Ralf Wildenhues
Subject: Re: How to create optimized library?
Date: Tue, 30 Oct 2007 08:55:04 +0100
User-agent: Mutt/1.5.16 (2007-10-15)


* Benoit SIGOURE wrote on Tue, Oct 30, 2007 at 08:49:35AM CET:
> On Oct 29, 2007, at 11:09 PM, address@hidden wrote:
>> Another question: what is the name format of optimized library, will the
>> file name include '-O' in the end? Or should I define it myself? Thanks.
> Optimized library should not need to have a special name.  The only reason 
> I'd see where one would want to name the library differently is when you 
> use compiler flags that change the ABI of the code produced.  If you happen 
> to do this for some reason, then just name the library the way you want, 
> there is no standard naming convention that I am aware of.  Some people 
> tend to produce up to 4 libraries per library (one compiled normally with 
> standard optimizations, one compiled with debugging symbols and suffixed by 
> `-d', one compiled with multi-threading support and suffixed by `-mt', and 
> one compiled with debugging+multi-threading and suffixed by `-mt-d', AFAIR 
> Boost does this).

Or just leave the choice up to the user what kind of library she wants:


reply via email to

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