OESF Portables Forum

Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Mac Issues => Topic started by: badturtle on March 01, 2005, 12:43:30 pm

Title: Xcode Development
Post by: badturtle on March 01, 2005, 12:43:30 pm
This seemed out of place in all of the development forums. Is anyone out there developing software for the Zaurus in XCode? I am thinking of writing a simple text only application. I don't want to deal with the complexities of a GUI and the screen on the SL-5600 is too small for everything this has to do if I want to maintain a good design. I was thinking of writing it on the Mac, then, when everything works, compile it directly on the Z, hopefully using the same version of gcc. This is my plan if I can't find a way to make XCode generate ARM machine code with elf headers to run on my Z, which is running Watapon ROM. I'll be using C++ if that matters to anyone.

If anyone cares, the reason I want to use XCode is that it is the only IDE that I've ever liked. Before XCode, I did all of my coding in vi. It also contains the most user friendly debugger that I've ever seen. The only problem is that when it makes a terminal application, it generates PPC code for Darwin.
Title: Xcode Development
Post by: padishah_emperor on March 01, 2005, 01:24:03 pm
I've been wondering about this, I'm about to switch and I've got a Yopy in my case, but I've been wondering about ARM code.

The best solution I've found is VirtualPC with Linux and the cross-compiler, or in my case directly using the Yopy's gcc compiler after testing in Xcode. I'd like to have the ability to develop and test GUI apps on the Mac though natively.
Title: Xcode Development
Post by: ganoe on March 01, 2005, 01:32:51 pm
Mac OS X cross compiler:
http://www.lucid-cake.net/osx_arm/index_en.html (http://www.lucid-cake.net/osx_arm/index_en.html)
Title: Xcode Development
Post by: dhns on March 01, 2005, 04:27:26 pm
For the "standard" Sharp ROMs (incl. Cacko) you need gcc-2.95.3. Here

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

is a full precompiled version ready for free download (no need to compile the cross compiler yourself!). It is also capable of Objective-C.

If you want to compile for Qt you will need to install the Trolltech development kits and headers on the Mac.

For OpenZaurus you will need a newer gcc version since they use different standard libraries. I have tried to compile 3.4.2 but did not yet succeed completely.

We are also working on a toolkit "QuantumSTEP" which is sort of GNUstep for the Zaurus. Then you can use XCode and Interface builder to write cross-platform applications. Please look & try at

http://www.dsitri.de/wiki.php?page=QuantumSTEP (http://www.dsitri.de/wiki.php?page=QuantumSTEP) and
http://www.dsitri.de/wiki.php?page=TestDrive (http://www.dsitri.de/wiki.php?page=TestDrive)

If you need assistance (or newer developer releases), please let me know.

-- hns
www.dsitri.de
Title: Xcode Development
Post by: ccrandal69 on March 03, 2005, 11:23:34 am
Quote
I've been wondering about this, I'm about to switch and I've got a Yopy in my case, but I've been wondering about ARM code.

The best solution I've found is VirtualPC with Linux and the cross-compiler, or in my case directly using the Yopy's gcc compiler after testing in Xcode. I'd like to have the ability to develop and test GUI apps on the Mac though natively.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=68997\"][{POST_SNAPBACK}][/a][/div]

I've had really bad performance with RedHat 9 with VPC 6 on a Powerbook G4 1.33GHz with 768MB RAM (384MB dedicated to VPC).  Of course, I was also trying to run GNOME and KDE.  It was significantly better in console mode.

What type of performance are you getting with VPC and Linux?

I'm about ready to dig in this weekend for some hardcore XCode development.... mostly in Perl.  I was going to play around with configuring XCode to compile using different types of compilers including perlcc and gjc.  I suppose if that's possible, having it point to a cross-compiler shouldn't be any harder.

Does anyone know if cross-compiled Obj-C(pp) apps will run on the Z?  Are their any decent ports of Cocoa for the Z?

Thanks
Curt
Title: Xcode Development
Post by: padishah_emperor on March 03, 2005, 12:09:47 pm
Quote
What type of performance are you getting with VPC and Linux?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69265\"][{POST_SNAPBACK}][/a][/div]

I'm not at the moment ;-) My Mac mini hasn't arrived yet, but it will soon I hope. I'm not expecting it to be fast, just fast enough, but of course that's relative. I'm not a speed demon. If it's faster than Virtual PC v2.0.1 on my old PowerMac 5500 I will be happy. :-) I used to run Win98, NT and Redhat quite happily.


Objective-C looks interesting, never even thought about it until I was reading up on Xcode, which also looks great. Can't wait to start playing...
Title: Xcode Development
Post by: dhns on March 03, 2005, 03:18:19 pm
Quote
Does anyone know if cross-compiled Obj-C(pp) apps will run on the Z?  Are their any decent ports of Cocoa for the Z?

Yes. QuantumSTEP is "Cocoa for the Z" + more goodies. Please look at the links in my posting above.

-- hns
Title: Xcode Development
Post by: dhns on March 18, 2005, 04:15:22 am
Quote
Quote
Does anyone know if cross-compiled Obj-C(pp) apps will run on the Z?  Are their any decent ports of Cocoa for the Z?

Yes. QuantumSTEP is "Cocoa for the Z" + more goodies. Please look at the links in my posting above.
After long months of digging into bugs, there is a new Developer Release on ELSIX: http://www.elsix.org/index.php?w=project&p...dazaurusedition (http://www.elsix.org/index.php?w=project&p=mypdazaurusedition)

It should now work on most Zaurus Models (with SharpROM) out-of-the-box. But I have to note that not all PIM applications work correctly and the File Manager may also crash. Feedback is welcome.

-- hns
http://www.dsitri.de/wiki.php?page=QuantumSTEP (http://www.dsitri.de/wiki.php?page=QuantumSTEP)