I didn't know you could compile ppc on an intel mac! I had read about rosetta but never thought much of it. Then tonight I figured I would try and see if the ppc version of PB would even do anything. To my surprise, not only was I able to compile/run, I could create the executable.
Maybe this is old news but I thought this was pretty cool. If you know about this already, do you know of any limitations?
compile ppc on intel
compile ppc on intel
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
Re: compile ppc on intel
I'm relatively sure nobody here was aware of this as there have been a few threads bemoaning the fact that a PPC machine was needed to compile for that platform.
How about a few more details. Did you use Rosetta? That's implied but not entirely clear from your post.
How about a few more details. Did you use Rosetta? That's implied but not entirely clear from your post.
http://davehouston.org
Mac Mini (Intel) 10.6.8 - iMac G4 (PPC) 10.4.11
Dell Dimension 2400 W98SE,W2K,XP,Vista,W7,Debian,Ubuntu,Kubuntu,Xubuntu,Fedora,Mandriva,Mint
(on swappable HDDs)
Vizio VTAB1008 - Android 3.1
MK808 miniAndroidPC (Android 4.1)
Mac Mini (Intel) 10.6.8 - iMac G4 (PPC) 10.4.11
Dell Dimension 2400 W98SE,W2K,XP,Vista,W7,Debian,Ubuntu,Kubuntu,Xubuntu,Fedora,Mandriva,Mint
(on swappable HDDs)
Vizio VTAB1008 - Android 3.1
MK808 miniAndroidPC (Android 4.1)
Re: compile ppc on intel
yes, it's possible as the shipped Apple gcc compiles for both ppc and intel. You can even build an universal binary with these 2 execs. Rosetta use is transparent. Please note than the new OS X 10.6 (Lion) will remove all the ppc support on intel mac.
Re: compile ppc on intel
That's the sad thing about Lion. Some people will not only loose some of their apps if they upgrade but even hardware if they only have ppc drivers. I really don't think they need to drop ppc support but I'm sure it's a marketing technique. Anyway, I may hold on to 10.6 a little longer.Fred wrote:yes, it's possible as the shipped Apple gcc compiles for both ppc and intel. You can even build an universal binary with these 2 execs. Rosetta use is transparent. Please note than the new OS X 10.6 (Lion) will remove all the ppc support on intel mac.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
Re: compile ppc on intel
Do you mean OS X 10.7 (Lion) will remove ppc support?Fred wrote:Please note than the new OS X 10.6 (Lion) will remove all the ppc support on intel mac.
http://davehouston.org
Mac Mini (Intel) 10.6.8 - iMac G4 (PPC) 10.4.11
Dell Dimension 2400 W98SE,W2K,XP,Vista,W7,Debian,Ubuntu,Kubuntu,Xubuntu,Fedora,Mandriva,Mint
(on swappable HDDs)
Vizio VTAB1008 - Android 3.1
MK808 miniAndroidPC (Android 4.1)
Mac Mini (Intel) 10.6.8 - iMac G4 (PPC) 10.4.11
Dell Dimension 2400 W98SE,W2K,XP,Vista,W7,Debian,Ubuntu,Kubuntu,Xubuntu,Fedora,Mandriva,Mint
(on swappable HDDs)
Vizio VTAB1008 - Android 3.1
MK808 miniAndroidPC (Android 4.1)
Re: compile ppc on intel
Yes that's what he meansdhouston wrote:Do you mean OS X 10.7 (Lion) will remove ppc support?Fred wrote:Please note than the new OS X 10.6 (Lion) will remove all the ppc support on intel mac.

Re: compile ppc on intel
Fred said
Can you please explain how to build a universal binary ?
I am currently compiling separate execs for each processor (using PB for Intel & PB for PPC on the same Mac).You can even build an universal binary with these 2 execs
Can you please explain how to build a universal binary ?

Singo
Win10, Win7, Debian x86 & OSX ~ PB 5.70 LTS
Minimbah NSW Australia
Win10, Win7, Debian x86 & OSX ~ PB 5.70 LTS
Minimbah NSW Australia
Re: compile ppc on intel
Thanks Fred, should have looked harder, thought it was something I was missing in PB
Singo
Win10, Win7, Debian x86 & OSX ~ PB 5.70 LTS
Minimbah NSW Australia
Win10, Win7, Debian x86 & OSX ~ PB 5.70 LTS
Minimbah NSW Australia