Game Development Community

Debug Symbols" ON - Mac release build of TGE 1.5.2

by Mathieu · in Torque Game Engine · 05/20/2007 (8:33 am) · 5 replies

The Release Target was too big when I compiled it (around 66Mb) so I take a look at the build settings and I found that "Generate Debug Symbols" was ON. Turning it OFF resolved this issue.

#1
05/20/2007 (11:31 am)
The project should be stripping the binary - by default it has both Deployment Postprocessing and Strip Linked Product on. I think this was an issue with 1.5.1 though - did you update your project? What version of XCode are you using?

When I do a complete rebuild I get a 12.7M universal binary.
#2
05/20/2007 (2:49 pm)
I tried again with a fresh version of TGE and have no issue this time. I really don't know what went wrong the first time as I made really common changes on the project...
I use XCode 2.4.
Sorry for the disturbance. :)
#3
05/23/2007 (12:19 pm)
I don't really want to create another thread for what can be normal: I have 6 warning I don't remember having before (TGE 1.5) ->

/usr/bin/ld: warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET environment variable greater or equal to 10.4

ld: warning /Volumes/Zeus/Frogames/GID 2005-09-17/code_source_TGE1.5.2/xcode/build/torque_xcode_2_2_UB.build/Default/Torque-MacCarb-Release.build/Objects-normal/ppc/mMath_ASM.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
ld: warning /Volumes/Zeus/Frogames/GID 2005-09-17/code_source_TGE1.5.2/xcode/build/torque_xcode_2_2_UB.build/Default/Torque-MacCarb-Release.build/Objects-normal/ppc/mMathAMD_ASM.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
ld: warning /Volumes/Zeus/Frogames/GID 2005-09-17/code_source_TGE1.5.2/xcode/build/torque_xcode_2_2_UB.build/Default/Torque-MacCarb-Release.build/Objects-normal/ppc/mMathSSE_ASM.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
ld: warning /Volumes/Zeus/Frogames/GID 2005-09-17/code_source_TGE1.5.2/xcode/build/torque_xcode_2_2_UB.build/Default/Torque-MacCarb-Release.build/Objects-normal/ppc/blender_asm.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
ld: warning prebinding disabled because dependent library: @executable_path/../Frameworks/Theora.framework/Versions/A/Theora is not prebound

I'm using XCode 2.4 and I'm running an Intel iMac.
#4
05/23/2007 (12:20 pm)
Ignore it. They're linker warnings, which is why you wouldn't have got them before; before, your problem was prohibiting even getting to the linking stage :-)

Gary (-;
#5
05/23/2007 (12:35 pm)
Thanks for this ultra quick answer Gary.

Note that, as Andy hinted in his post, my first problem came from "DEPLOYMENT_POSTPROCESSING" who was set on NO. Don't know how this happens.
This didn't prevent linking.