Author Topic: compiling on a Linux-Mac ?  (Read 5960 times)

tcoulon

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://www.decoulon.ch
compiling on a Linux-Mac ?
« on: December 15, 2003, 02:32:44 am »
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

  • Guest
compiling on a Linux-Mac ?
« Reply #1 on: December 17, 2003, 02:35:16 pm »
hehe...\"stuck\" with a PowerBook?  Consider yourself blessed

Anonymous

  • Guest
compiling on a Linux-Mac ?
« Reply #2 on: December 17, 2003, 04:17:04 pm »
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

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
compiling on a Linux-Mac ?
« Reply #3 on: December 18, 2003, 09:37:25 pm »
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 . You do not want to try this on a Wallstreet.

ngustilo

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • http://www.pocketsw.com
compiling on a Linux-Mac ?
« Reply #4 on: December 21, 2003, 12:00:21 am »
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

  • Guest
compiling on a Linux-Mac ?
« Reply #5 on: February 23, 2004, 03:23:14 pm »
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

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
    • http://
compiling on a Linux-Mac ?
« Reply #6 on: February 23, 2004, 04:03:43 pm »
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.
SLC860, Zubuntu, Symbol Spectrum24 Wireless CF, 4GB SD Card