Help - Search - Members - Calendar
Full Version: compiling on a Linux-Mac ?
OESF Forums > General Forums > Desktop Operating Systems Issues > Mac Issues
tcoulon
Hello,

I'm thining about using the new X11 ROM and would love to spend some time during holiday trying to compile for the Z but... I'll be away from my Workstation "stuck" with my PowerBook. Is it possible to crosscompile using either YellowDog or OS X?

Thierry
Anonymous
hehe..."stuck" with a PowerBook? Consider yourself blessed wink.gif
Anonymous
Why not self-compile on the Zaurus?

QUOTE
Hello,

I'm thining about using the new X11 ROM and would love to spend some time during holiday trying to compile for the Z but... I'll be away from my Workstation "stuck" with my PowerBook. Is it possible to crosscompile using either YellowDog or OS X?

Thierry
zaphod
Why not compile on the Z? At least two reasons: the z has a slow processor, compared to most desktops; it doesn't have much RAM. I was having wierd compiler errors on the Z which were due to running out of memory. This did not happen in the cross environment. Unfortunately, I discovered other reasons my favorite emulators, dosbox and generator, won't compile--basically they do some low level stuff and need someone who actually knows something about C/asm to port them.

You can set up the x86 cross environment on your PPC mac if you have virtual PC and a fast >550Mhz Mac with lots of RAM. I have a daystar-upgraded pismo 550 G4 w/512MB and I have been building stuff in a virtual (gentoo) Linux machine. The cross compiler runs about 2X as fast as the native zaurus one, which is really not a big improvement, but I wanted to see if it could be done smile.gif. You do not want to try this on a Wallstreet.
ngustilo
I have been able to partially set up cross compiling on my Mac running Panther and X Code. I can do command line compiles but the GUI (Qtopia) stuff is not working yet. I am hacking on the makefile and trying to get it to install properly. Here is a URL with the instructions on setting up cross compiling on a Mac.

http://www.lucid-cake.net/osx_arm/index_en.html
Anonymous
QUOTE
I have been able to partially set up cross compiling on my Mac running Panther and X Code.  I can do command line compiles but the GUI (Qtopia) stuff is not working yet.  I am hacking on the makefile and trying to get it to install properly.  Here is a URL with the instructions on setting up cross compiling on a Mac.  
http://www.lucid-cake.net/osx_arm/index_en.html


You can download for free a precompiled cross-compiler package for Xcode from

http://www.dsitri.de/wiki.php?page=Zaurus-X-gcc

Qtopia things are *NOT* included.

But it includes Objective-C and you can add mySTEP with libFoundation and libAppKit.

-- hns
zmike
I was able to cross-compile QTopia on the mac. The shell scripts provided on the site above are TCSH so if you are running bash on the mac you either need to convert them or go into tcsh first.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.