Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 17, 2009, 12:06 AM   #1
amudham
macrumors newbie
 
Join Date: Apr 2009
Zerocost-exception

error: Mac OS X version 10.5 or later is needed for zerocost-exception.

How to fix this issue? I want my application to run on both 10.4 and 10.5.

Thanks in advance.
amudham is offline   0 Reply With Quote
Old Apr 17, 2009, 01:23 AM   #2
Catfish_Man
macrumors 68030
 
Catfish_Man's Avatar
 
Join Date: Sep 2001
Location: Portland, OR
Send a message via AIM to Catfish_Man
It sounds like you're building 64 bit. If so, you need to change the deployment target, but only for the 64 bit part of the build (so you end up with 32 bit targeting 10.4 and 64 bit targeting 10.5).
Catfish_Man is offline   0 Reply With Quote
Old Apr 17, 2009, 05:07 AM   #3
amudham
Thread Starter
macrumors newbie
 
Join Date: Apr 2009
Quote:
Originally Posted by Catfish_Man View Post
It sounds like you're building 64 bit. If so, you need to change the deployment target, but only for the 64 bit part of the build (so you end up with 32 bit targeting 10.4 and 64 bit targeting 10.5).
So it will end up with 2 different binaries, one for 32 and one for 64 right?
If so, is there a way to have a single binary which fix this issue?
amudham is offline   0 Reply With Quote
Old Apr 17, 2009, 02:01 PM   #4
Catfish_Man
macrumors 68030
 
Catfish_Man's Avatar
 
Join Date: Sep 2001
Location: Portland, OR
Send a message via AIM to Catfish_Man
You'll end up with three or four binaries*, typically, merged together into one. This is called a universal binary, and is the standard way of doing things on OSX.

*x86, x86-64, powerpc, and (maybe) powerpc64
Catfish_Man is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
how to disable zerocost-exception? amudham Mac Programming 2 Apr 21, 2009 01:48 AM


All times are GMT -5. The time now is 10:12 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC