Initial attempt to get cdc to build in OE (was: Re: Software Development)

Koen Kooi koen at
Fri Dec 22 15:51:44 CET 2006

[note about crossposting that will get ignored by people pressing reply-all, but naive as 
I am, I'll try anyway: this is crossposted, watch out when replying]


I was getting very annoyed with all the people complaining "OMG! we need java!!!!! LOL", 
but doing absolutely nothing to help getting java into OE (and hence making it available 
to the neo1973). So I decided to actually do something:

It errors out somewhere in do_compile, probably because kaffeh isn't sun j2se (on my build 

So if any of you want to actually help out instead of complaining, go read, install OE and get busy!



As sample of the output in the devshell:

koen at bitbake:/data/build/koen/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/phoneme-advanced-0.0+MR2-r0/phoneme_advanced-mr2/build/linux$ 
make bin
touch ../../build/linux--/./generated/
CVM_HOST   = i686-generic-linux
CVM_TARGET = linux--
SHELL      = sh -e
HOST_CC    = /data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-gcc
HOST_CCC   = /data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-g++
ZIP        = /usr/bin/zip
CVM_JAVA   = /usr/bin/java
CVM_JAVAC  = /usr/bin/javac
CVM_JAVAH  = /usr/bin/javah
CVM_JAR    = /usr/bin/jar
TARGET_CC     = 
TARGET_AS     = 
TARGET_LD     = 
TARGET_AR     = /usr/bin/ar
TARGET_RANLIB = /usr/bin/ranlib
LINKFLAGS  = -g -Wl,-export-dynamic
LINKLIBS   = -lpthread -ldl -lm
ASM_FLAGS  = -c -fno-common -march=armv5te -mtune=xscale -mthumb-interwork -mthumb
CCCFLAGS   = -fno-rtti
CCFLAGS_SPEED  = -c -fno-common -Wall -fno-strict-aliasing -march=armv5te -mtune=xscale 
-mthumb-interwork -mthumb -O4
CCFLAGS_SPACE  = -c -fno-common -Wall -fno-strict-aliasing -march=armv5te -mtune=xscale 
-mthumb-interwork -mthumb -O2
CCFLAGS_LOOP   = -c -fno-common -Wall -fno-strict-aliasing -march=armv5te -mtune=xscale 
-mthumb-interwork -mthumb -O4 -fno-inline
CCFLAGS_FDLIB  = -c -fno-common -Wall -fno-strict-aliasing -march=armv5te -mtune=xscale 
-mthumb-interwork -mthumb -O4
JAVAC_OPTIONS  = -g:none -J-Xms32m -J-Xmx128m -encoding iso8859-1 -source 1.4 -target 1.4
updating ../../build/linux--/./generated/ ...
Checking for build-time classes to compile ...

Terrence schreef:
> Koen,
> Interesting, thanks. We'll have a look at it.
> -- Terrence
> Koen Kooi wrote:
>> Hash: SHA1
>> Terrence schreef:
>>> The Java Mobile & Embedded Community (
>>> is very interested in getting Java ME ported to OpenMoko.
>> You can start right now by adding phoneme and javac to openembedded
>> (, which would make phoneme available to 
>> distributions like
>> openzaurus, openezx and angstrom as well.
>> Unfortunately I'm not allowed to share my recipes and patches for cvm 
>> I did 2 years ago,
>> but I can hint that can't use the existing .mk files, since most of 
>> their assumptions are
>> wrong.
>> regards,
>> Koen
>> Version: GnuPG v1.4.5 (Darwin)
>> CT3qmtcwtCEZn8zcaPuGmlY=
>> =ay08
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> OpenMoko community mailing list
>> community at
> _______________________________________________
> OpenMoko community mailing list
> community at

More information about the community mailing list