Help - Search - Members - Calendar
Full Version: Compile an application on a SL-6000
OESF Portables Forum > Everything Else > Archived Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > Sharp Zaurus > 6000 - Tosa
grom
Hi, since 1 week I search information about compilling a programme for my SL6000. I found some links about the SL5000, but nothing for my zaurii. It's the same?
Can somebody help my to builld a application? A "hello worlld" application is OK

regards
Dominique
smuelas
I think you should tell us the programing language that you want to use for writting the application :-)
smuelas
grom
Oh sorry, the best choice for me is C or C++.
In a first step it's to make à small command line program and if it work, I'll try with a GUI.
smuelas
For doing what you want, you need to install the compilers for C & C++. Those compilers are available in a version downloadable from the web (look at "killefilez") .
They are presented in a varsion *.cramfs that you must mount first. They correspond to version 2.95.3 from gnu.
If you want also fortran, you must try to implement Debian (see several places in this Forum). You wil be able to compile everything with the last compilers.
smuelas
grom
I don't know the "killefilez". You mean "http://killefiz.de/zaurus/"? There are a development section with a lot of packages of the zaurus, but no software for the PC.
Does the cross compiler for the SL5000 work with the SL 6000 too?

Dominique
smuelas
Hi grom,
Sorry. I have understood that you wanted to compile for the Zaurus IN the zaurus. If what you are looking for is a cross compiler for compiling in the PC programs for the Zaurus, you will find quite a lot in the web.
Just write in Google: Intel Arm crosscompiling or something similar and you will find a few.
Best luck!
smuelas
cvmiller
QUOTE(smuelas @ Nov 16 2004, 08:18 AM)
Hi grom,
Sorry. I have understood that you wanted to compile for the Zaurus IN the zaurus.

What you want is DevImg.

It has all the compilers and libraries to compile Z programs for the Z on the Z. YOu can find it at ZSI (aka http://killefiz.de/zaurus/). The latest version is 1.5x (I think, I am using 1.5). It works great!

Good luck,

Craig...
johnw
Is killefiz down? I have not been able to connect for the past couple of days now.
ken
it's not down from here ...
dsavard
www.killefiz.de is not down, however zsi2.stonekeep.com is down.

I can confirm the dev_image 1.5 is working fine.
grom
Hello all, I have realy a problem to fond a cross compiler. There is a big jungle with a lot of cross compiler and .... a lot of out of date documents. In most of them the cross compiler doesn't support Xscale processor sad.gif But no news about today.
Another point is the version problem, if I use the last version of GCC to compile, does the program work on my zaurii? Maybe library problem?
Have some body a succesfull experience witht a cross compiler?

thanks for your help
Grom
TimW
The instructions and the rpms I use to compile opie-reader are on on this mirror.

I use this qtopia sdk and cross compiler to build the ipks for opie-reader and there seem to be quite a few people running opie-reader successfully on the 6000 as well as on all the other linux based zaurii - so in answer to your main query: Yes, you can use the same cross compiler.

There is a minor caveat in that OpenZaurus is now build with a later version of gcc 3.4.? which is incompatible with 2.95 so you can't build for the latest OZ roms.
undrwater
QUOTE(grom @ Nov 23 2004, 06:51 AM)
Hello all, I have realy a problem to fond a cross compiler. There is a big jungle with a lot of cross compiler and .... a lot of out of date documents. In most of them the cross compiler doesn't support Xscale processor sad.gif But no news about today.
Another point is the version problem, if I use the last version of GCC to compile, does the program work on my zaurii? Maybe  library problem?
Have some body a succesfull experience witht a cross compiler?

thanks for your help
Grom
*



Sorry to drag this up...is this the most updated information for compiling for the 6000?

Is compiling graphics applications for the 6000 different than that of the 5x00 or sl-c models? Most of the older apps that work on the 6000 don't work in native resolution.

A pointer to some good documentation would be helpful! (Unless of course the link above is as good as it gets! wink.gif )
Gondola
I have had problems using the instructions in "How To" section of this site. I am running Fedora Core 3.

I am currently downloading the DemoLinux bootable CD for Zaurus development; hopefully that will work.

If anyone is running Fedora Core 3 and has successfully set up a crosscompile environment, please let me know what tweaks you had to do to get it working.

If there is an alternate Linux distro that works "out of the box" I'd like to hear about that as well.
Gondola
Just a quick followup. I had problems with DemoLinux. It wouldn't recognize my NIC.

So, I rebooted to FC3 (same machine) and attempted to redo all the steps from the How To.

Well, I had added the QT libs to the ld.so.conf file because I thought I had to. My mistake; I removed them. I went back to the original .sh files for setting up the compile environment and the tmake.conf files and made the minimum changes to reflect my GCC environment and VOILA! The Qtopia example program worked, locally and on my Zaurus! Woot!

So now I'm going after my killer app; using my Earthmate GPS (USB!) with the Z. Many people have written about getting their CF GPS's working with their Zaurii, but only myself and one other gentleman have posted concerning the USB Earthmate.
BarryW
Okay maby I'm dumb or something, but I can't figure out the instructions for setting up the dev-img. Anybody have better instructions?
BarryW
Here's what I'm getting..
# ./image_setup.sh /usr/mnt.rom/cf/dev_img-1.5 /mnt/cf/dev
Setting mount point /mnt/cf/dev...
ln: /mnt/cf/dev/develop: Operation not permitted
Mounting image /usr/mnt.rom/cf/dev_img-1.5...
Failed to mount image /usr/mnt.rom/cf/dev_img-1.5 on /mnt/cf/dev
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-2018 Invision Power Services, Inc.