Cibyl is an environment to compile and run programs written in C, Objective-C, C++ and possibly Fortran on J2ME phones. It is documented on the project page at
and the source code can be found on github:
http://github.com/SimonKagstrom/cibyl
You need the following to use Cibyl:
To setup Cibyl, do the following steps:
Download a pre-built toolchain from http://cibyl.org. In this case you can skip directly to step 2.
Alternatively, build it first using the following command:
cd toolchain make # (this will take some hours)
Unpack the toolchain
cp cibyl-bin-PLATFORM-VERSION.tar.bz2 /path/to/install/dir tar -xjf cibyl-bin-PLATFORM-VERSION.tar.bz2
Add the Cibyl binaries to your path:
export PATH=$PATH:/path/to/install/dir/mips-cibyl-elf/bin
If you downloaded the pre-built toolchain, you can stop here.
Build the translator and the cibyl libraries
mkdir build cd build cmake ../ make && make install
this will install the libraries and tools in /path/to/install/dir
Build the examples by e.g.,
cd examples/host-java/hello-world make
To build a J2ME example, do
6.1 For windows:
cd examples/j2me/hello-world make -f Makefile.cygwin
6.2 For other platforms:
cd examples/j2me/hello-world make
-- // Simon Kagstrom simon.kagstrom@gmail.com