Re: Link oracle proc program in xcode - GOT it :-)
Re: Link oracle proc program in xcode - GOT it :-)
- Subject: Re: Link oracle proc program in xcode - GOT it :-)
- From: Ronald Rood <email@hidden>
- Date: Wed, 25 May 2005 20:00:16 +0200
Title: Re: Link oracle proc program in xcode - GOT it :-)
On 18-05-2005 22:33, "Chris Espinosa" <email@hidden> wrote:
On May 18, 2005, at 1:12 PM, Markus Hitter wrote:
In a unix make file I just specify -L${ORACLE_HOME}/lib -L/usr/lib -lclntsh
What and how should I do that in xcode ?
Add the libraries to the project the same way you'd add a framework or a source file.
And when doing so it may be useful to define a Source Tree (Xcode Preferences > Source Trees) of ORACLE_HOME, and when you drop the library onto the Xcode project, make it relative to that source tree.
It took a while but I got it.
Disabled zerolink
disabled prebinding
set Library Search Paths to ${ORACLE_HOME}/lib /usr/lib
added $ORACLE_HOME/lib to the project and made it relative to the Source Tree (set to $ORACLE_HOME), removed all *.jar, *.zip, *.o and a few empty files.
compile & go.
Work with both gcc 3.3 and 4.0
Thanks for the tips I received !
Ronald.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden