| TWiki . Mobileandembedded . PhoneMEAdvancedPlatformsNokia800 |
But if you want to build from the latest source yourself, below are instructions for building CDC/FP MR2 for the N800 mainly, and should also work on the N770. These instructions are more current than those done previously for the Nokia 770.
# mkdir /pmea # cd /pmea2. Using subversion, checkout cdc and tools trees (java.net dev account required)
# svn checkout https://phoneme.dev.java.net/svn/phoneme/components/tools/trunk # svn checkout https://phoneme.dev.java.net/svn/phoneme/components/cdc/trunk3. Note absolute path your latest TOOLS_DIR is from here, i.e. ending in the form tools/tags/tools-advanced-mr2-promo-bXX. For example
TOOLS_DIR=/pmea/tools/tags/tools-feature-mr2-promo-b24was what I had at the time of my last build.
4. Go to linux-arm-generic build directory
# cd cdc/trunk/build/linux-arm-generic5. Start make-ing
# make CVM_TARGET_TOOLS_PREFIX=/scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux- \ USE_AAPCS=true J2ME_CLASSLIB=foundation TOOLS_DIR=/pmea/tools/tags/tools-feature-mr2-promo-b24and
# make bin CVM_TARGET_TOOLS_PREFIX=/scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux- \ USE_AAPCS=true J2ME_CLASSLIB=foundation TOOLS_DIR=/pmea/tools/tags/tools-feature-mr2-promo-b246. Go to build output directory
# cd ../../install # ls Foundation_Profile-phoneme_advanced_mr2_b18-linux_arm_generic-bin-rev5444.zip
Nokia-N800:/cdc/# ./bin/cvm -version Product: phoneME Advanced (phoneme_advanced_mr2-b18) Profile: Foundation Profile Specification 1.1 JVM: CVM phoneme_advanced_mr2-b18 (mixed mode) Nokia-N800:/cdc/# ./bin/cvm -cp testclasses.zip HelloWorld Hello world. Nokia-N800:/cdc/# ./bin/cvm -cp testclasses.zip Test <... lots of output ...> *CONGRATULATIONS: test Test completed with 411 tests passed and 0 failures *Output lines starting with a * should be checked for correctness *They can be compared to src/share/javavm/test/TestExpectedResult
----- Revision r30 - 07 Jan 2008 - 20:50:20 - Main.hendry78
|