Download Print this page

Sharp Zaurus SL-C3000 Instruction Manual page 205

Zaurus pda instruction manual
Hide thumbs Also See for Zaurus SL-C3000:

Advertisement

my Zaurus SL-C3000 and SL-C3100
The jamvm and classpath packages gives you a Java compatable runtime, however, in order to
develop Java applications, you will need a Java compiler and other tools like jar, javah, javap and
javadoc. Jikes can be used as a replacement Java compiler, and there is also a classpath tools
package which has some of the Java tools you need.
You can copy the tools.jar file from a 1.4.x JDK and use it instead.
gcc
There is an on-board gcc 3.4.6 compiler to allow native development on the Zaurus. The older 3.4.5
version is also compatible.
You need to put one of the zgcc images such as zgcc-3.4.6.squashfs or zgcc-3.4.5-4.squashfs
under /home/root or /data. This will make it being automatically mounted on boot. You can also
mount it manually as follows:
# mount -o loop /data/zgcc-3.4.6.squashfs /opt/native/arm/3.4.6-xscale-softvfp
To compile a little test application, create a file called hello.c with the following content:
#include <stdio.h>
int main()
{
printf("Hello World\n");
}
Then run the following command which will generate an executable called hello.
# gcc -o hello hello.c
To compile source packages, first download and extract the source tarball. Then do the following:
# ./configure
205 of 212
http://www.users.on.net/~hluc/myzaurus/
16/09/2007 12:23

Advertisement

loading

This manual is also suitable for:

Zaurus sl-c3100