Skip to main content

compiling?

No replies
myhouwei
Offline
Joined: 2007-01-31

I managed to compile on windows OS,but I got some errros.
my script:
******************
export Acme=d:/jwc
export Scripts=`pwd`
export Output=$Acme/output
export Log=$Acme/log.txt
rm -f $Log

cd $Acme/cldc/build/javacall_i386_vc
make \
JDK_DIR=c:/j2sdk1.4.2_07 \
JVMWorkSpace=$Acme/cldc \
JVMBuildSpace=$Output/cldc \
ENABLE_PCSL=true \
PCSL_OUTPUT_DIR=$Output/pcsl \
JAVACALL_OUTPUT_DIR=$Output/javacall \
$1

if [ $? -ne 0 ]; then
echo "cldc_status=failed" >> $Log
else
echo "cldc_status=OK" >> $Log
fi

cat $Log
cd $Scripts
**********************
the compiling display:
****************************
bash-2.05b$ sh build-cldc.sh
d:\cyg4me\bin\make.exe[1]: Entering directory `d:/jwc/cldc/build/javacall_i386_v
c'
... copied root Makefiles
d:\cyg4me\bin\make.exe[1]: Leaving directory `d:/jwc/cldc/build/javacall_i386_vc
'
==================================
JVMBuildSpace = d:/jwc/output/cldc
JVMWorkSpace = d:/jwc/cldc
ROMIZING = true
SHELL = d:/cyg4me/bin/sh.exe
ENABLE_ISOLATES = true
ENABLE_MONET = true
==================================
created d:/jwc/output/cldc/javacall_i386_vc/tools/Makefile
==============================
creating build tools...
==============================
make.exe[1]: Entering directory `d:/jwc/output/cldc/javacall_i386_vc/tools'
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
created jcc.jar
created buildtool.jar
make.exe[1]: Leaving directory `d:/jwc/output/cldc/javacall_i386_vc/tools'
done
Finding .java files ...
????? - *.java
done
created d:/jwc/output/cldc/javacall_i386_vc/loopgen/app/Makefile
==============================
creating ASM loop generator in debug mode
build flags: NO_DEBUG_SYMBOLS=true
==============================
make.exe[1]: Entering directory `d:/jwc/output/cldc/javacall_i386_vc/loopgen/app
'
generating ../generated/Dependencies ...
reading database: d:/jwc/cldc/src/vm/includeDB
writing individual include files ... done (218 files.)
writing grand include file

writing dependencies file

make.exe[1]: Leaving directory `d:/jwc/output/cldc/javacall_i386_vc/loopgen/app'

make.exe[1]:
make.exe[1]: Entering directory `d:/jwc/output/cldc/javacall_i386_vc/loopgen/app
'
mkdir -p ../bin
mkdir -p ../../dist/bin
mkdir -p ../../dist/lib
mkdir -p ../../dist/include
==============================
compiling cldc1.1 classes (0 files)...
make.exe[1]: *** [d:/jwc/output/cldc/classes.zip] Error 1
make.exe[1]: Leaving directory `d:/jwc/output/cldc/javacall_i386_vc/loopgen/app'

d:\cyg4me\bin\make.exe: *** [_loopgen] Error 2
cldc_status=failed
bash-2.05b$