[kaffe] need help in porting kaffe on powerpc

Michael Franz mvfranz at gmail.com
Tue Jan 18 12:11:57 PST 2005


On Tue, 18 Jan 2005 11:33:41 +0800, cyc_wutong at 163.com
<cyc_wutong at 163.com> wrote:
> hi,Michael Franz,
> 
>          I'm trying to get Kaffe work on my powerpc device. I do it as follow:
>      first , make and install 'native' kaffe, totally I have three directories. use'kaffe-1.1.4' store the source code, 'kaffe-native'  make native kaffe, and 'kaffe-m68k-linux'  make cross compiled kaffe.
> 
>   cd kaffe-native
>   ../kaffe-1.1.4/configure
>   make
>   make install
>   cp libraries/javalib/rt.jar /tmp/rt.jar
> 
> then,cross compile kaffe for powerpc,
>   cd kaffe-ppc
>   CC=ppc-linux-gcc NM=ppc-linux-nm AR=ppc-linux-ar ../kaffe-1.1.4/configure --host=ppc-linux --build=i386-linux --with-rt-jar=/
> tmp/rt.jar --enable-pure-java-math --with-threads=unix-jthreads --without-x --pr
> efix=/mnt/hda/kaffe --enable-debug --with-engine=intrp --enable-xdebugging
>   make
>   make instal
> 
> so,can you give me some advice ? thank you!

I have never tried to cross-compile kaffe.  If I get some spare time I
can take a look at the documentation and give it a whirl, however, I
am sure there are some experts on cross-compiling kaffe list.

> 
> ======= 2005-01-18 08:57:36:=======
> 
> >Christina,
> >
> >Are you trying to port kaffe to linux/ppc or just trying to
> >cross-compile?  kaffe already runs on linux/ppc.  If you are trying to
> >cross-compile check out this document.
> >http://kaffe.org/doc/kaffe/FAQ.cross-compiling.
> >
> >
> >On Tue, 11 Jan 2005 11:44:30 +0800, 曹艳春 <cyc_wutong at 163.com> wrote:
> >> hi, i need to port kaffe from i386 to Powerpc:
> >>
> >> I try to configure with these options :
> >>  ../kaffe-1.1.4/configure --host=ppc-linux --build=i386-linux --with-rt-jar=/
> >> tmp/rt.jar --enable-pure-java-math --with-threads=unix-jthreads --without-x --pr
> >> efix=/mnt/hda/kaffe --enable-debug --with-engine=intrp --enable-xdebugging
> >>
> >> The config step is OK, when I type "make", I got the error messages:
> >> ../../../kaffe-1.1.4/kaffe/kaffevm/systems/unix-jthreads/jthread.h:355: Internal
> >>  compiler error in reload_cse_simplify_operands, at reload1.c:8349
> >> Please submit a full bug report,
> >> with preprocessed source if appropriate.
> >> See <URL:http://bugs.terrasoftsolutions.com/bugzilla/> for instructions.
> >> make[3]: *** [support.lo] Error 1
> >> make[3]: Leaving directory `/home/cyc/build_env/kaffe/kaffe-ppc/kaffe/kaffevm'
> >> make[2]: *** [install-recursive] Error 1
> >> make[2]: Leaving directory `/home/cyc/build_env/kaffe/kaffe-ppc/kaffe/kaffevm'
> >> make[1]: *** [install-recursive] Error 1
> >> make[1]: Leaving directory `/home/cyc/build_env/kaffe/kaffe-ppc/kaffe'
> >> make: *** [install-recursive] Error 1
> >>
> >> does anyone know a solve?
> >> thank you
> >> christina
> >> cyc_wutong at 163.com
> >> 2005-01-11
> >
> >Michael
> 
> = = = = = = = = = = = = = = = = = = = =
> 
>> 礼!
> 
> cyc_wutong
> cyc_wutong at 163.com
> 2005-01-18
> 
>



More information about the kaffe mailing list