Hello, I am trying to use java on the foxboard. Unfortunately java takes too much resources, so I want to use the PhoneME version.
On the following site is discribed how to use PhoneMe on different platforms f. e. arm CPU and linux OS. https://phoneme.dev.java.net/downloads_page.html I want to use it on the fox. but it doesn't work by just changing the compiler. The following error message occurs. MAKEFLAGS = CVM_HOST = i686-Ubuntu-linux CVM_TARGET = linux-i486-generic SHELL = sh -e HOST_CC = /usr/bin/cc HOST_CCC = /usr/bin/g++ ZIP = /usr/bin/zip FLEX = /usr/bin/flex BISON = /usr/bin/bison CVM_JAVA = /usr/lib/jvm/current/bin/java CVM_JAVAC = /usr/lib/jvm/current/bin/javac CVM_JAVAH = /usr/lib/jvm/current/bin/javah CVM_JAR = /usr/lib/jvm/current/bin/jar TARGET_CC = /usr/local/cris/bin/cris-axis-linux-gnu-gcc TARGET_CCC = /usr/local/cris/bin/cris-axis-linux-gnu-g++ TARGET_AS = /usr/local/cris/bin/cris-axis-linux-gnu-gcc TARGET_LD = /usr/local/cris/bin/cris-axis-linux-gnu-gcc TARGET_AR = /usr/local/cris/bin/cris-axis-linux-gnu-ar TARGET_RANLIB = /usr/local/cris/bin/cris-axis-linux-gnu-ranlib LINKFLAGS = -g -Wl,-export-dynamic LINKLIBS = -lpthread -ldl ASM_FLAGS = -c -fno-common -traditional CCCFLAGS = -fno-rtti CCFLAGS_SPEED = -c -fno-common -Wall -fno-strict-aliasing -isystem /home/bnielsen/foxbox/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -Wall -Wshadow -O2 -O4 CCFLAGS_SPACE = -c -fno-common -Wall -fno-strict-aliasing -isystem /home/bnielsen/foxbox/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -Wall -Wshadow -O2 -O2 CCFLAGS_LOOP = -c -fno-common -Wall -fno-strict-aliasing -isystem /home/bnielsen/foxbox/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -Wall -Wshadow -O2 -O4 CCFLAGS_FDLIB = -c -fno-common -Wall -fno-strict-aliasing -isystem /home/bnielsen/foxbox/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -Wall -Wshadow -O2 -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_JIT -DCVM_JIT_REGISTER_LOCALS -DCVM_TIMESTAMPING -DJ2ME_CLASSLIB=cdc -DTARGET_CPU_FAMILY=i486 -DCVM_JIT_COPY_CCMCODE_TO_CODECACHE -D_GNU_SOURCE -DCVM_IAI_OPT_ALL host uname = Linux wombat 2.6.20-16-generic #2 SMP Tue Feb 12 05:41:34 UTC 2008 i686 GNU/Linux TARGET_CC version = 3.2.1 cris-axis-linux-gnu HOST_CC version = 4.1.2 i486-linux-gnu CVM_JAVA version = java version 1.6.0_01 TOOLS_DIR = /home/bnielsen/Desktop/phoneme_advanced_mr2/tools Target tools not properly specified. The gcc -dumpmachine output does not agree with CVM_TARGET. The OS and CPU portions must match for compatibility. If this is a cross compile, you probably forgot to set CVM_TARGET_TOOLS_PREFIX. If you want to to turn off this check, set CVM_COMPILER_INCOMPATIBLE=false on the make command line or in the GNUmakefile CVM_TARGET: linux-i486-generic compiler target: cris-axis-linux-gnu exit 2 make: *** [checkconfig] Fehler 2 where CVM_TARGET_TOOLS_PREFIX=/usr/local/cris/bin/cris-axis-linux-gnu- Does anyone else tried to use java on fox on that way?
