Author Topic: Xcode Development  (Read 7901 times)

badturtle

  • Newbie
  • *
  • Posts: 9
    • View Profile
Xcode Development
« 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.

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Xcode Development
« Reply #1 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.
« Last Edit: March 01, 2005, 01:29:05 pm by padishah_emperor »
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

ganoe

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://
Xcode Development
« Reply #2 on: March 01, 2005, 01:32:51 pm »

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Xcode Development
« Reply #3 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

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 and
http://www.dsitri.de/wiki.php?page=TestDrive

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

-- hns
www.dsitri.de
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

ccrandal69

  • Newbie
  • *
  • Posts: 44
    • View Profile
Xcode Development
« Reply #4 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

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Xcode Development
« Reply #5 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...
« Last Edit: March 03, 2005, 12:14:59 pm by padishah_emperor »
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Xcode Development
« Reply #6 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
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Xcode Development
« Reply #7 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

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
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com