Author Topic: Compile an application on a SL-6000  (Read 6688 times)

grom

  • Newbie
  • *
  • Posts: 11
    • View Profile
Compile an application on a SL-6000
« 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

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Compile an application on a SL-6000
« Reply #1 on: November 13, 2004, 09:42:50 am »
I think you should tell us the programing language that you want to use for writting the application :-)
smuelas
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

grom

  • Newbie
  • *
  • Posts: 11
    • View Profile
Compile an application on a SL-6000
« Reply #2 on: November 13, 2004, 11:12:00 am »
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

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Compile an application on a SL-6000
« Reply #3 on: November 15, 2004, 06:27:08 pm »
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
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

grom

  • Newbie
  • *
  • Posts: 11
    • View Profile
Compile an application on a SL-6000
« Reply #4 on: November 16, 2004, 08:06:47 am »
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

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Compile an application on a SL-6000
« Reply #5 on: November 16, 2004, 11:18:07 am »
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
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Compile an application on a SL-6000
« Reply #6 on: November 16, 2004, 12:50:19 pm »
Quote
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...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

johnw

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://wallacesoftware.com/zaurus
Compile an application on a SL-6000
« Reply #7 on: November 17, 2004, 08:25:26 pm »
Is killefiz down?  I have not been able to connect for the past couple of days now.
Sharp SL6000L Sharp SL5000d Intel PRO Wireless 802.11b CF 512MB Toshiba SD Sharp CE-AG06 camera Pocketop

ken

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
Compile an application on a SL-6000
« Reply #8 on: November 17, 2004, 08:56:33 pm »
it's not down from here ...
SL-6000L Sharp ROM 1.12 - 1G SD (RiDATA) - 2G Microdrive (Hitachi)
TRENDnet TE-CF100 10/100 (no drivers needed) AmbiCom CF56M-EZ modem (no drivers needed)

dsavard

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • http://
Compile an application on a SL-6000
« Reply #9 on: November 17, 2004, 11:46:31 pm »
www.killefiz.de is not down, however zsi2.stonekeep.com is down.

I can confirm the dev_image 1.5 is working fine.
JID: AchilleTalon-myjabber.net[/font]
___________________________________
Zaurus SL-6000L
HAiCOM HI-303 MMF CF GPS Receiver
Targus Universal Wireless Keyboard
Verbatim SD 64 MB
Lexar 32x 1GB SD
Lexar 4x 1GB CF
Sharp CE-170TS Serial cable
___________________________________

grom

  • Newbie
  • *
  • Posts: 11
    • View Profile
Compile an application on a SL-6000
« Reply #10 on: November 23, 2004, 09:51:15 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  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

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Compile an application on a SL-6000
« Reply #11 on: November 23, 2004, 10:51:26 am »
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.
« Last Edit: November 23, 2004, 10:52:19 am by TimW »

undrwater

  • Full Member
  • ***
  • Posts: 232
    • View Profile
    • http://
Compile an application on a SL-6000
« Reply #12 on: March 01, 2005, 02:15:36 pm »
Quote
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!   )

Gondola

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Compile an application on a SL-6000
« Reply #13 on: March 09, 2005, 10:51:29 am »
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.
[span style=\'font-size:8pt;line-height:100%\']Nokia 770, running latest firmware.
1GB RS-MMC sandisk card
Garmin Etrex Legend GPS/USB Earthmate GPS
Rooted, with an SSH server, VNC viewer, etc.
[/span]

Gondola

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Compile an application on a SL-6000
« Reply #14 on: March 09, 2005, 12:42:22 pm »
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.
« Last Edit: March 09, 2005, 12:42:48 pm by Gondola »
[span style=\'font-size:8pt;line-height:100%\']Nokia 770, running latest firmware.
1GB RS-MMC sandisk card
Garmin Etrex Legend GPS/USB Earthmate GPS
Rooted, with an SSH server, VNC viewer, etc.
[/span]