Re: Problem Building x86 Project on PowerPC
Re: Problem Building x86 Project on PowerPC
- Subject: Re: Problem Building x86 Project on PowerPC
- From: Dave <email@hidden>
- Date: Wed, 9 May 2007 15:38:08 +0100
Hi,
I changed the the SDK Path to /Developer/SDKs/MacOSX10.4u.sdk in the
Build Locations Value in the Target Settings Window and it now
compiles ok. Is this the same as you suggest?
Now I have one more problem:
I have a dynamic library that is compiled as two separate .dylib
files one for PowerPC and one for i86. How can I select which file to
use the right dylib depending on the configuration selected??
Thanks a lot for your Help
All the Best
Dave
On 9 May 2007, at 15:14, Alexander von Below wrote:
Select an OS SDK to Develop With
To select an SDK in Xcode, you take the following steps:
Select the project group in the Groups & Files list.
Open an Info window for the project by choosing Project > Get Info
or by typing Command-I.
Note: You can also use an inspector window to select an SDK. You
open an inspector window by choosing Project > Show Inspector or by
typing Command—Option-I. To learn more about inspector and Info
windows in Xcode, see Xcode 2 User Guide.
Choose an SDK in the Cross-Develop Using Target SDK pop-up menu.
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
cross_development/index.html#//apple_ref/doc/uid/10000163i
Am 09.05.2007 um 16:07 schrieb Dave:
Hi,
Where do I need to set it? I've looked under Target Settings in
the "Build Locations" Panel for the x86 Release configuration and
it's blank. Is this what it should be set to? If not, what do I
set it to? The full path name of the of the MacOSX10.4u.sdk file???
Thanks a lot
All the Best
Dave
On 9 May 2007, at 14:55, Alexander von Below wrote:
Is it possible that you did not specifically set the SDK to
10.4u ? If you use "Current", then you may see these kinds of
errors.
The linker is trying to load the libraries from /System/Library/
Frameworks, which are your current system frameworks. On PPC,
they are PPC only
The linker SHOULD load them from /Developer/SDKs/MacOSX10.4u.sdk/
System/Library/Frameworks/, which is controlled by the SDK
setting in Xcode
Alex
Am 09.05.2007 um 15:45 schrieb Dave:
Hi All,
When I try to build an Intel x86 configuration on a PowerPC, I
get the errors/warning copied below.
Is it possible to build to a cross platform build like this? If
so what do I have to do to fix it?
Both systems are Running Mac OS X Tiger 10.4.9 and XCode 2.4.1
Thanks a lot
All the Best
Dave
/usr/bin/ld: warning /System/Library/Frameworks/
QuartzCore.framework/QuartzCore cputype (18, architecture ppc)
does not match cputype (7) for specified -arch flag: i386 (file
not loaded)
_______________________________________________
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