OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Xcode Development, Easy Z devel on Mac
badturtle
post Mar 1 2005, 09:43 AM
Post #1





Group: Members
Posts: 9
Joined: 17-February 05
Member No.: 6,485



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.
Go to the top of the page
 
+Quote Post
padishah_emperor
post Mar 1 2005, 10:24 AM
Post #2





Group: Members
Posts: 849
Joined: 6-March 04
Member No.: 2,180



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.
Go to the top of the page
 
+Quote Post
ganoe
post Mar 1 2005, 10:32 AM
Post #3





Group: Members
Posts: 65
Joined: 31-January 04
Member No.: 1,607



Mac OS X cross compiler:
http://www.lucid-cake.net/osx_arm/index_en.html
Go to the top of the page
 
+Quote Post
dhns
post Mar 1 2005, 01:27 PM
Post #4





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



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
Go to the top of the page
 
+Quote Post
ccrandal69
post Mar 3 2005, 08:23 AM
Post #5





Group: Members
Posts: 44
Joined: 16-October 04
Member No.: 5,045



QUOTE(padishah_emperor @ Mar 1 2005, 06:24 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.
*


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
Go to the top of the page
 
+Quote Post
padishah_emperor
post Mar 3 2005, 09:09 AM
Post #6





Group: Members
Posts: 849
Joined: 6-March 04
Member No.: 2,180



QUOTE(ccrandal69 @ Mar 3 2005, 04:23 PM)
What type of performance are you getting with VPC and Linux?
*


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...
Go to the top of the page
 
+Quote Post
dhns
post Mar 3 2005, 12:18 PM
Post #7





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE(ccrandal69 @ Mar 3 2005, 05:23 PM)
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
Go to the top of the page
 
+Quote Post
dhns
post Mar 18 2005, 01:15 AM
Post #8





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE(dhns @ Mar 3 2005, 09:18 PM)
QUOTE(ccrandal69 @ Mar 3 2005, 05:23 PM)
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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st October 2014 - 05:40 AM