|Feb 5, 2009, 06:10 PM||#1|
.dylibs and .a files
As far as I understand, .dylib files are dynamic libraries and .a files are static libraries.
Both have their headers in a separate place. Most 3rd party libraries come in the form of .dylib files, but there are some occasions where I have encountered both of them for one library, such as libpng when installed using Fink.
My question is this:
- What is the proper way to link your Xcode project against a .dylib or a .a file?
- In case the .a file has a .dylib file with the same name in the same installation directory, could it be that the .a file depends on the .dylib file?
- How can I make link my program against a .a or a .dylib file and then make it run on other machines apart from my own?
i am searching Apple's documentation, and I cannot find any relevant text. Please help!
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Mavericks - extremely slow to list files when selecting files in finder and Safari||iosuser||OS X Mavericks (10.9)||33||Aug 29, 2014 03:40 AM|
|Copy pasting files in OSX SL: stop copying mid-way but keep pasted files thus far?||Charlie Croker||OS X||0||Nov 7, 2012 10:52 AM|
|Can I Replace Time Machine files with CCC Files? Help! No Backup will Restore||Smittay||Mac Applications and Mac App Store||4||Sep 4, 2012 03:00 PM|
|Is there a good program to package a group of files into multiple rar files?||east85||Mac Applications and Mac App Store||5||Aug 27, 2012 03:00 PM|
|Problems with linking to Boost dylibs in Xcode||TastyCocoa||Mac Programming||2||Aug 17, 2012 04:58 AM|
All times are GMT -5. The time now is 04:52 PM.