[CMake] Re: deprecated static libraries on Mac

Sean McBride sean at rogue-research.com
Fri Aug 10 14:29:16 EDT 2007


On 8/10/07 1:16 PM, Bill Hoffman said:

>>>> both supported, I build both.  On the Mac, where static libraries are
>>>> officially depreciated, I don't.  There's an OPTION to build them if
>>>> you really really want to scrounge around with that.  And if you want
>>>>       
>>> I haven't heard this, albeit I don't do much Mac development.  Do you
>have any
>>> references on this.  A project I'm working on wants to build static
>libraries to
>>> help in the distribution: "Here's your binary, now RUN!".
>>>     
>>
>> http://developer.apple.com/qa/qa2001/qa1118.html
>>   
>I am not sure this means static libraries are deprecated.   It just 
>means that completely static
>executables are not recommended.   They want you to use the dynamic run 
>time libraries.
>This is very similar to the MS compiler.   However, your application can 
>use lots of static
>libraries that contain your code.  

Precisely.  Just look in /usr/lib/, Mac OS X ships with all kinds of .a
(ie static) libraries.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the CMake mailing list