Page 1 of 1

Compiling for PPC?

Posted: Tue Jun 15, 2010 12:33 pm
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?

Re: Compiling for PPC?

Posted: Tue Jun 15, 2010 2:39 pm
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

Re: Compiling for PPC?

Posted: Tue Jun 15, 2010 3:07 pm
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?

Re: Compiling for PPC?

Posted: Tue Jun 15, 2010 3:28 pm
by Fred
It is supported. 'as' is the assembler, do you have xcode installed ?