Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 5, 2009, 06:10 PM   #1
Soulstorm
macrumors 68000
 
Soulstorm's Avatar
 
Join Date: Feb 2005
.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!
Soulstorm is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Location of movie files and music files on the iphone? bbplayer5 iPhone 3 May 9, 2011 03:17 AM
migrating MP3 files and wav files from an MP3 player to MBP saturn5 MacBook Pro 0 Dec 5, 2008 10:43 AM
Best way to transfer iPhoto files and iTunes files from G5 to MacPro Beardy man Mac Applications and Mac App Store 3 Mar 6, 2008 12:58 PM
File/Folder sharing and child files/folders not inheriting parent permissions? Mindflux OS X 7 Jan 30, 2008 09:23 AM
Cut/Paste file in finder and moving file related Issues YahonMaizosz Mac Basics and Help 4 Nov 28, 2007 02:14 PM


All times are GMT -5. The time now is 09:01 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC