Question re: compiling OS X universal binaries

Hi,

Wondering if anyone here has any experience in updating code so that it will
function as a universal binary for OS X and play on both PPC and Intel.

I have some very brief source that compiles and plays fine on both chips,
but not as a universal binary (crashes on the chip it wasn't compiled on).

Thanks for any help!


<twhid>www.mteww.com</twhid>

Comments

, Rob Myers

T.Whid wrote:

> Wondering if anyone here has any experience in updating code so that it
> will function as a universal binary for OS X and play on both PPC and Intel.

I have had to do this sort of thing. I've switched to Linux for my own
work but I still get paid to hack OS X.

> I have some very brief source that compiles and plays fine on both
> chips, but not as a universal binary (crashes on the chip it wasn't
> compiled on).

Have you updated an old existing project or created a new one and added
the old source files to it? Some of the paths and settings can be a pain
to set up. If the source is brief as you say you might be better off
making a new project and adding your old source files to that.

- Rob.

, Rhizomer

what is code?




Am 16.01.2007 um 21:26 schrieb T.Whid:

Hi,

Wondering if anyone here has any experience in updating code so that it
will function as a universal binary for OS X and play on both PPC and
Intel.

I have some very brief source that compiles and plays fine on both
chips, but not as a universal binary (crashes on the chip it wasn't
compiled on).

Thanks for any help!


<twhid>www.mteww.com</twhid>

, Geert Dekkers

I can't help directly – but aren't there guidelines to be found on
this subject at the apple developer site?

Geert


On 16/01/2007, at 9:26 PM, T.Whid wrote:

> Hi,
>
> Wondering if anyone here has any experience in updating code so
> that it will function as a universal binary for OS X and play on
> both PPC and Intel.
>
> I have some very brief source that compiles and plays fine on both
> chips, but not as a universal binary (crashes on the chip it wasn't
> compiled on).
>
> Thanks for any help!
>
> –
> <twhid>www.mteww.com</twhid>