Re: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
Re: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
- Subject: Re: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
- From: JongAm Park <email@hidden>
- Date: Sat, 28 Jun 2008 08:42:17 -0700
Good morning, Mr. Jean-Daniel.
Yeah.. I could confirm when $UNIX2003 suffix appended by issuing nm
and changing "SDK in use" and "Deployment Target". However, I did set
the -mmacosx-version-min=10.4 to compile the postgreSQL library,
specifically libpq.a.
To tell you the intermediate result by investigating the project is :
1. The programmer who worked on before added the libpq.a to the
"Linked Framework"
=> Because he linked the library in a directory where an
installer for the final product will override, I changed it to link
to one in a permanent locattion different from the one referenced
before, and set "copy to the project directory" to give the project
more self-contained status.
There is nothing wrong so far
2. In the Target setting, he gave multiple directory in each of which
the same library is. Also, he set -lpq.
=> This is the core reason.
=> At least one library in those directory seems to contain a
library built without -mmacosx-version-min=10.4, and it seems to be
the one referenced unfortumately.
3. So, I streamlined the project setting, and got rid of the problem.
But the project is not fully built yet. I need to streamline its
"header search path" also.
When I complete this mission during the weekend, I will come back and
would like to share this story with people in this list. This may
suggests something to make the Xcode project/target setting less
confusing to Xcoders who just started using it.
Thank you for your interest in this.
Have a nice weekend~ :)
On Jun 28, 2008, at 4:03 AM, Jean-Daniel Dupas wrote:
Le 28 juin 08 à 07:31, JongAm Park a écrit :
Hello.
I tried compiling the postgreSQL library. As I desribed in my
previous post, on Intel Mac, there are some problems like "_fnctl
$UNIX2003 can't be found.". I tried investigating the library file
using the nm. But they are reference like _fnctl without $UNIX2003.
The UNIX2003 suffix appear when you use 10.5 header without the -
macosx-version-min=10.4 flag.
_______________________________________________
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