MySQL Forums
Forum List  »  Connector/C++

link libmysqlclient.a statically in xcode 3.1.4
Posted by: Mike Christen
Date: November 18, 2009 07:39PM

... trying to link libmysqlclient.a into my exe in xcode 3.1.4

... in my xcode 2.x machine (apple) I add user define setting to my project:

LIBRARY_STYLE = BUNDLE

and I get a 1.7MB exe (with this lib linked statically)

... however on xcode 3.1.4, I can't seem to get this lib to link statically into the exe -- ZERO_LINK NO, and other linker settings don't seem to work -- I only get 40KB exe and error on target machines libmysqlclient.16.dylib not loaded ...

So what linker flags on the new XCode will make libmysqlclient.a link statically into my EXE, so it's 1.7MB?

Options: ReplyQuote


Subject
Views
Written By
Posted
link libmysqlclient.a statically in xcode 3.1.4
6068
November 18, 2009 07:39PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.