Howto build CLDC1.1
- Download something called phoneme_feature-mr2-dev-src-b04-21_dec_2006.zip or use the SVN sources
- All you need resides in phoneME_feature/cldc/src/javaapi/cldc1.1
I was unable to compile it using gcj 4.1.2 -C and used ecj 3.2.1 therefore. I used the following uber1337 build script in the path mentioned above.
for i in `find . -type f -name "*java"`
do
ecj -bootclasspath . -cp build:.:../share/ $i -d build
done
for i in `find ../share -type f -name "*java"`
do
ecj -bootclasspath . -cp build:.:../share/ $i -d build
done
Now all you want should live in ./build
Howto build CACAO for CLDC1.1
./configure \ --prefix=/nfs/nfstmp/twisti/x86_64-linux/install/cacao-javame \ --enable-maintainer-mode \ --with-classpath-prefix=/nfs/nfstmp/twisti/x86_64-linux/install/classpath \ --enable-java=cldc1.1 \ --with-classpath=cldc1.1 \ --with-classpath-classes=/nfs/nfstmp/twisti/sun/phoneme/cldc/src/javaapi/cldc1.1/classes
Howto crosscompile CACAO with CLDC1.1
you use "make CACAOH=/path/to/host_cacaoh" and get ClassNotFound ? read this: you need a cacaoh from a cldc1.1 enabled cacao build.