Re: Xcode uses "SDK Path" instead of my "Library Search Paths" ?
Re: Xcode uses "SDK Path" instead of my "Library Search Paths" ?
- Subject: Re: Xcode uses "SDK Path" instead of my "Library Search Paths" ?
- From: Jerry Krinock <email@hidden>
- Date: Mon, 22 May 2006 21:32:11 -0700
- Thread-topic: Xcode uses "SDK Path" instead of my "Library Search Paths" ?
Well, I tried to fix it by building it as a static library instead of
dynamic, and it built. Yahooooo! But when running, an NSLog of
sqlite_version told me that the run-time was still loading old version 3.1.3
from /System instead of my new static library. Darn it. Anybody know how
to fix that?
So, I went back to beat on the dylib. In the following document:
ADC Home > Reference Library > Documentation > Tools > Xcode > Xcode 2.2
User Guide > Linking > Linking to a Dynamic Library in a Nonstandard
Location
I read:
"When you need to link with a custom version of a dynamic library but donĀ¹t
want to replace the standard version of the library, you can use the
-dylib_file option of the linker to tell it where to find the nonstandard
version of the library."
Hey now!! I think maybe that sounds just like what I want to do!!
Continuing....
"Just add -dylib_filestandard_library_path:nonstandard_library_path to the
Other Linker Flags (OTHER_LD_FLAGS) build setting, where
standard_library_path is the path to the standard library and
nonstandard_library_path is the path to the custom version of the library."
But they don't tell me what is nonstandard_library_path. Is it the default
Installation Location, "usr/local/lib"? Doesn't make sense...if it is
constant, why do I have to fill it in?
Can I use @executable_path in my nonstandard_library_path?
Also, should there be a space between "-dylib_files" and
"standard_library_path"? Is that a typo?
Jerry
Literary Note: Whenever I read instructions whick start with the word "Just"
as in "Just do this..." or "Just to that....", I know I'm probably in
trouble.
_______________________________________________
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