EasyManua.ls Logo

Sharp Zaurus SL-C3000 - Page 205

Sharp Zaurus SL-C3000
212 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
my Zaurus SL-C3000 and SL-C3100 http://www.users.on.net/~hluc/myzaurus/
205 of 212 16/09/2007 12:23
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

Other manuals for Sharp Zaurus SL-C3000

Related product manuals