OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: grom on November 13, 2004, 03:46:46 am
-
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
-
I think you should tell us the programing language that you want to use for writting the application :-)
smuelas
-
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.
-
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
-
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
-
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
-
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/) (http://killefiz.de/zaurus/)). The latest version is 1.5x (I think, I am using 1.5). It works great!
Good luck,
Craig...
-
Is killefiz down? I have not been able to connect for the past couple of days now.
-
it's not down from here ...
-
www.killefiz.de is not down, however zsi2.stonekeep.com is down.
I can confirm the dev_image 1.5 is working fine.
-
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 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
-
The instructions and the rpms I use to compile opie-reader are on on this mirror (http://www.ossh.com/zaurus/mirrors/docs.zaurus.com/linux_compiler_setup_howto.shtml).
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.
-
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 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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=53219\"][{POST_SNAPBACK}][/a][/div]
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! )
-
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.
-
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.
-
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?
-
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