Compiling for PPC?

Mac OSX specific forum
davedev
User
User
Posts: 12
Joined: Wed Jun 09, 2010 4:05 pm

Compiling for PPC?

Post by davedev »

I compiled a PureBasic app on my Intel Mac and I get an error when trying to run it on my PPC G5 Mac with OS X 10.4, "No Supported on this Architecture". I looked through the compiler options and couldn't find any options for compiling for the PPC (a single executable for PPC and Intel would be nice). Is it possible to do a combined executable? What am I missing that I can't find a PPC option?
Fred
Administrator
Administrator
Posts: 18254
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Compiling for PPC?

Post by Fred »

You have to install the PPC version of PureBasic as well. Fro universal binary, read that: http://www.purebasic.fr/english/viewtop ... sal+binary
davedev
User
User
Posts: 12
Joined: Wed Jun 09, 2010 4:05 pm

Re: Compiling for PPC?

Post by davedev »

Ok. Thanks. Trying that...get an error "sh line 1 as: command not found" on my first line of:

Code: Select all

launcherPath$ = ProgramFilename()
Is ProgramFilename not supported on PPC?
Fred
Administrator
Administrator
Posts: 18254
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Compiling for PPC?

Post by Fred »

It is supported. 'as' is the assembler, do you have xcode installed ?
Post Reply