[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]

Hi,

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:

http://www.openembedded.org/~koen/java/

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

So if any of you want to actually help out instead of complaining, go read http://java.sun.com/javame/reference/docs/cdc_build_system.pdf, install OE and get busy!

regards,

Koen

As sample of the output in the devshell:

[EMAIL PROTECTED]:/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/empty.mk
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 = /data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-gcc TARGET_CCC = /data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-g++ TARGET_AS = /data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-gcc TARGET_LD = /data/build/koen/OE/build/tmp/angstrom/cross/bin/arm-angstrom-linux-gnueabi-gcc
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
CVM_DEFINES = -DCVM_OPTIMIZED -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_TIMESTAMPING -DJ2ME_CLASSLIB=cdc -DTARGET_CPU_FAMILY= -D_GNU_SOURCE
updating ../../build/linux--/./generated/build_defs.mk ...
Checking for build-time classes to compile ...

Terrence schreef:
Koen,

Interesting, thanks. We'll have a look at it.

-- Terrence

Koen Kooi wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Terrence schreef:
The Java Mobile & Embedded Community (www.mobileandembedded.org)
is very interested in getting Java ME ported to OpenMoko.

You can start right now by adding phoneme and javac to openembedded
(www.openembedded.org), 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFbrprMkyGM64RGpERAmRQAJ4w3OODEFfF+sCo3KOVwvqKZB9r0wCfUB8Y
CT3qmtcwtCEZn8zcaPuGmlY=
=ay08
-----END PGP SIGNATURE-----

_______________________________________________
OpenMoko community mailing list
[email protected]
http://lists.openmoko.org/cgi-bin/mailman/listinfo/community


_______________________________________________
OpenMoko community mailing list
[email protected]
http://lists.openmoko.org/cgi-bin/mailman/listinfo/community



_______________________________________________
OpenMoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to