Hello, * Benoit SIGOURE wrote on Tue, Oct 30, 2007 at 08:49:35AM CET: > On Oct 29, 2007, at 11:09 PM, [EMAIL PROTECTED] 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: <http://sources.redhat.com/automake/automake.html#VPATH-Builds> Cheers, Ralf
