Universal Binary
by Shayaan Siddiqui · in Torque Game Engine · 02/26/2006 (6:32 am) · 11 replies
Hello
I got Torque finally working on xCode 2.2.1
But now I want to compile as Universal Binary and I can't figure out how to do it.
Any help would be appreciated.
I got Torque finally working on xCode 2.2.1
But now I want to compile as Universal Binary and I can't figure out how to do it.
Any help would be appreciated.
About the author
#2
and I did that It still compiles as PPC.
Anyone?
02/26/2006 (2:23 pm)
I have a book for xCode and followed the directions and it says to change the Architecture to "ppc i386" (beforeit says $(NATIVE_ARCH), which means compile it for the same platform you are using)and I did that It still compiles as PPC.
Anyone?
#3

Did you set this: MACOSX_DEPLOYMENT_TARGET_i386 to 10.4.
-Jeff
02/26/2006 (4:29 pm)
Modifing the 'architectures' seems to be all that is needed.
Did you set this: MACOSX_DEPLOYMENT_TARGET_i386 to 10.4.
-Jeff
#4
I can't get that screen to load.
It makes me type it in manually
02/26/2006 (5:50 pm)
I dont know why my posts keep reposting.... sorry i think Safari is acting up!I can't get that screen to load.
It makes me type it in manually
#5
-Jeff
p.s. You may be able to delete the extra posts by clicking the trash can next to the message date.
02/26/2006 (6:25 pm)
I did a quick test using an empty project and all the interface does is change it to "ppc i386', as you stated above, that was what you had done manually.-Jeff
p.s. You may be able to delete the extra posts by clicking the trash can next to the message date.
#6
I can't make it compile as a UB.
I've changed the SDK to 10.4
architecture to ppc i386 (manually)
cleaned the targets
and no dice.
02/26/2006 (6:30 pm)
Yeah but the problem is Toque only compiles for PPCI can't make it compile as a UB.
I've changed the SDK to 10.4
architecture to ppc i386 (manually)
cleaned the targets
and no dice.
#7
02/27/2006 (2:33 am)
What did you do (step by step) to mak a universal binary?
#8
What I had to do to reach teh about point was:
Project Info General tab:
change 'Cross-Develop Using Target SDK: Mac OS X 10.4 (Universal)
"/developer/SDKs/MaxOSX10.4u.sdk"
Project Info Build tab:
Change Architectures to 'ppc i386'
Keep in mind that I am building on a dual-core based mac and it might have came with SDKs not available otherwise.
-Jeff
02/27/2006 (2:03 pm)
Last night, I went ahead and moved my code base over to a dual-core based mac and the road block I reached was missing OpenAL symbols. at which point, I went back to developing on my primary windows system.What I had to do to reach teh about point was:
Project Info General tab:
change 'Cross-Develop Using Target SDK: Mac OS X 10.4 (Universal)
"/developer/SDKs/MaxOSX10.4u.sdk"
Project Info Build tab:
Change Architectures to 'ppc i386'
Keep in mind that I am building on a dual-core based mac and it might have came with SDKs not available otherwise.
-Jeff
#9
02/27/2006 (8:22 pm)
TGE and T2D will be updated with universal binary builds & build files shortly.
#10
03/03/2006 (6:02 pm)
The TGE 1.4.0u SDK and demo are live on the site, as of this morning!
#11
I am having trouble understanding what exactly I am compiling... Is it a game? an editor? a Game Creator?
03/03/2006 (6:07 pm)
Wow you guys are FAST!I am having trouble understanding what exactly I am compiling... Is it a game? an editor? a Game Creator?
Torque Owner Jeff White
Building a Universal Binary
Hope this helps as I plan on doing the same.
-Jeff