Skip to main content

phonemeadvance building on vxworks-sparc problem

2 replies [Last post]
101010
Offline
Joined: 2008-01-07
Points: 0

log:

$ make CVM_TARGET_TOOLS_PREFIX=/cygdrive/C/cygwin/usr/tools/Tornado/host/x86-wi
n32/bin

bash: ccsparc: command not found
bash: ccsparc: command not found
bash: ccsparc: command not found
MAKEFLAGS = CVM_TARGET_TOOLS_PREFIX=/cygdrive/C/cygwin/usr/tools/Tornado/host/x
86-win32/bin
CVM_HOST = i686-cygwin-win32
CVM_TARGET = vxworks-sparc-SPARC
SHELL = bash
HOST_CC = /usr/bin/cc
HOST_CCC = /usr/bin/g++
ZIP = /usr/bin/ZIP
FLEX = /usr/bin/flex
BISON = /usr/bin/bison
CVM_JAVA = /cygdrive/c/j2sdk1.4.2_07/bin/java
CVM_JAVAC = /cygdrive/c/j2sdk1.4.2_07/bin/javac
CVM_JAVAH = /cygdrive/c/j2sdk1.4.2_07/bin/javah
CVM_JAR = /cygdrive/c/j2sdk1.4.2_07/bin/jar
TARGET_CC = /home/gaoyf/../../usr/tools/Tornado/host/x86-win32/bin/ccsparc
TARGET_CCC = /home/gaoyf/../../usr/tools/Tornado/host/x86-win32/bin/ccsparc
TARGET_AS = /home/gaoyf/../../usr/tools/Tornado/host/x86-win32/bin/assparc
TARGET_LD = /home/gaoyf/../../usr/tools/Tornado/host/x86-win32/bin/ldsparc
TARGET_AR = /home/gaoyf/../../usr/tools/Tornado/host/x86-win32/bin/arsparc
TARGET_RANLIB = /home/gaoyf/../../usr/tools/Tornado/host/x86-win32/bin/ranlibspa
rc
LINKFLAGS = -g -nostdlib -r
LINKLIBS = /home/gaoyf/../../usr/tools/Tornado/host/x86-win32/lib/gcc-lib/spar
c-wrs-vxworks/cygnus-2.7.2-960126/v8/libgcc.a
ASM_FLAGS = -c -fno-common -I/h -I. -I/home/gaoyf/../../usr/tools/Tornado\ta
rget\config\all -I/home/gaoyf/../../usr/tools/Tornado\target/h -I/home/gaoyf/../
../usr/tools/Tornado\target/src/config -I/home/gaoyf/../../usr/tools/Tornado\tar
get/src/drv -DCPU=SPARC
CCCFLAGS = -fno-rtti
CCFLAGS_SPEED = -c -fno-common -Wall -fno-strict-aliasing -O4
CCFLAGS_SPACE = -c -fno-common -Wall -fno-strict-aliasing -O2
CCFLAGS_LOOP = -c -fno-common -Wall -fno-strict-aliasing -O4
CCFLAGS_FDLIB = -c -fno-common -Wall -fno-strict-aliasing -O4
JAVAC_OPTIONS = -g:none -J-Xms32m -J-Xmx128m -encoding iso8859-1 -source 1.4 -t
arget 1.4
CVM_DEFINES = -DCVM_OPTIMIZED -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOA
DING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_JIT
_REGISTER_LOCALS -DCVM_TIMESTAMPING -DJ2ME_CLASSLIB=cdc -DTARGET_CPU_FAMILY=spar
c
host uname = CYGWIN_NT-5.1 gaoyf 1.5.21(0.156/4/2) 2006-07-30 14:21 i686
Cygwin
TARGET_CC version =
HOST_CC version = 3.4.4 i686-pc-cygwin
CVM_JAVA version = java version 1.4.2_07
TOOLS_DIR = /cygdrive/e/CVM/proj_cvm/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: vxworks-sparc-SPARC
compiler target:
exit 2
make: *** [checkconfig] Error 2

how to set CVM_TARGET_TOOLS_PREFIX ?

thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cjplummer
Offline
Joined: 2006-10-16
Points: 0

What do the following two commands produce:

/home/gaoyf/../../usr/tools/Tornado/host/x86-win32/bin/ccsparc -dumpmachine
/home/gaoyf/../../usr/tools/Tornado/host/x86-win32/bin/ccsparc -dumpversion

That being said, even if you get past the tool problems, you'll run into other problems with the VxWorks port.

• When CDC migrated from 1.0 spec to the 1.1 spec, the needed work was never done for VxWorks, so you'll have some libraries porting work to do. The VxWorks port won't build until this porting work is done.
• No work has been done on the VxWorks port by the CDC team in about 7 years. At that time the x86 and SIMSPARCSOLARIS interpreter ports were working and tested. With the help of another group within Sun, vxworks-sparc port was added about 3 years ago, and JIT support was included. This was for a CDC 1.0 port, not a CDC 1.1 port, and was never fully tested. However, the changes were migrated into what is now available in the phoneme advance OSS release.
• We (Sun) have no ability to even attempt to build any of the VxWorks ports, since we don't have the proper tools.

It looks like you'll have some work to do if you want to get this port working.

regards,
Chris

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> What do the following two commands produce:
>
> /home/gaoyf/../../usr/tools/Tornado/host/x86-win32/bin/ccsparc -dumpmachine
> /home/gaoyf/../../usr/tools/Tornado/host/x86-win32/bin/ccsparc -dumpversion
>
> That being said, even if you get past the tool problems, you'll run into other problems with the VxWorks port.
>
> • When CDC migrated from 1.0 spec to the 1.1 spec, the needed work was never done for VxWorks, so you'll have some libraries porting work to do. The VxWorks port won't build until this porting work is done.
> • No work has been done on the VxWorks port by the CDC team in about 7 years. At that time the x86 and SIMSPARCSOLARIS interpreter ports were working and tested. With the help of another group within Sun, vxworks-sparc port was added about 3 years ago, and JIT support was included. This was for a CDC 1.0 port, not a CDC 1.1 port, and was never fully tested. However, the changes were migrated into what is now available in the phoneme advance OSS release.
> • We (Sun) have no ability to even attempt to build any of the VxWorks ports, since we don't have the proper tools.
>
>
> It looks like you'll have some work to do if you want to get this port working.

Hi gaoyf,

If you want to tackle this port and get it working on VxWorks/SPARC,
please be aware that we are looking for volunteers in the open source
community to contribute their work back to the community. This port
would be an ideal candidate for you to be recognized for your work in
helping us get it working again.

https://mobileandembedded.dev.java.net/content/sca.html

Let me know if you need more information on how you can help the phoneME
Advanced open source project by working on the VxWorks/SPARC port to
contribute back to the community.

Thanks,

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net