hi,all
Sorry to bother you a lot.
i have received some helpful mails from you but i still meet some problems which i 
couldn't solve still.

++++++++++++++++++++++++++++++++++++++++++++++=
1.compile the classlibrary
i have read the related FAQ files carefully,and do according to them but still failed 
to reduce the size of library(rt.jar about 2.9M).
next is my configure options:
./configure --prefix=/usr/local/cmpKaffe --disable-gcj --disable-debug 
--disable-xprofiling --disable-xdebugging --disable-feedback --without-profiling 
--without-stats --with-engine=intrp --without-exensions --enable-pure-java-math 
--with-threads=unix-pthreads  
--with-class-library-profile=/home/jin/kaffe-1.1.4/libraries/javalib/profiles/custom/profile
(KaffeVM:Kaffe-1.1.4;i have installed a default version of KaffeVM at 
/usr/local/kaffe/ as JAVAC to compile the libraries
profiles/custom/profile is a profile i defined myself according to the 
classlibrary-compile.faq file)

After that, cd to Kaffe_src/libraries/javalib/ and do {
#export -n JAVA
#export -n JAVAC
#export -n CLASSPATH
#export JAVAC="<PATH_TO_JDK>/bin/kjc"
#export JAVAC_FLAGS="-g:none -bootclasspath jre/lib"
#make   }
according to the embedded.faq file, but the output information is 
"cp /home/jin/kaffe-1.1.4/./libraries/javalib/rt-precompiled.jar rt.jar"
,and there isn't a rt.jar i wanted at ./javalib/ .
Could some one can tell me what is wrong during the make procedure?I still have no 
idea about how to compile without debuging information.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2.Fabien said: 
>With this configure :

>./configure --disable-nls --enable-pure-java-math

>--with-threads=unix-pthreads --with-engine=intrp --with-libffi

>--with-jikes --without-x



>I have 7.2M (3.0M for rt.jar and 2.6M for jre/lib/i386) without removing

>anything

"diable-nls" will not support Native language and i don't konw if it will have affects 
when running .class program.
"--with-libffi" is another implements by SysdepCallMethod according to the libffi.faq 
but the link "http://sourceware.cygnus.com/libffi/"; to download it is unable to reach.
i will use qte GUI and i don't know whether it will have smaller jre/lib/i386 compared 
to use X GUI, and could someone can give me an answer?

+++++++++++++++++++++++++++++++++++++++++++++
3.some one mentioned:
>I make a reduced kaffe in the past, you try to strip all the binaries? and >remove 
>the unused binaries, i removed all the binaries, except the kaffe bin, >and strip the 
>dinamic libraries.

Does it make great sense to remove the unused binaries under KaffeVm-PATH/bin ,the sum 
of which is 376K? I thought i had strip the dynamic binaries by 'make install -strip', 
but the size of the installed jre/lib/i386 is still about 4.0M. Do i mistake your 
meaning?


i use the above options to compile the KaffeVM and make $$ make install -strip && make 
install, but the result is still 8.4M(2.9M for rt.jar and 4.0M for jre/lib/i386 ) 
,which is far from my requirements.Do you have some good suggestion?

I wanna your any helpful reply which is much more detail, much better . 
and if you have some puzzle on what i said, mail me and i will explain as much as i 
can .

e-mail:[EMAIL PROTECTED]


 




 


==============================================
安全稳定大容量,大附件收发, [EMAIL PROTECTED]
马上到http://www.126.com申请260M免费大容量邮箱;!
提供新邮件到达手机短信提醒功能, 随时掌握邮件信息!
_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to