[kaffe] kaffe-1.0.7 building for powerpc

alain desire njike kamdoum njike_alain at hotmail.com
Mon Oct 28 04:16:30 PST 2002


Hi People I don't know if you have already solved the problem.i think you 
first have to build kaffe on your Host system and then set the environment 
variable kaffeh to the path of the executive kaffeh(On your Host) I've 
successfully buildt Kaffe on poweer PC following these instructions:

1-Kaffe need a locally executable "kaffeh" in order to be cross-compiled.So 
first build Kaffee for the host system:
  a) ./configure --prefix=....
  b) make
  c) make install

2- Now Kaffe can be configured and croos-compiled

  a) CC=powerpc-linux-gcc
     AS=powerpc-linux-as
     LD=powerpc-linux-ld
     KAFFEH=PREFIX/bin/kaffeh
     ./configure --prefix=...  --target=powerpc-linux   --host=powerpc-linux 
--with-headers=.. --with-libs=-- with-engine=intrp --without-x (I didn't try 
it with-engine=jit )

   b) open config.cache and paste the right values  of 
int,short,..,alignment of voidp

    ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
    ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
    ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
    ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
    ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
    ac_cv_sizeof_voidp=${ac_cv_sizeof_voidp=4}
    ac_cv_alignmentof_voidp=${ac_cv_alignmentof_voidp=4}

   c) run configure again
   d) make
   e) make install

I think it coulf help you

Best regards

Alain Njike






>From: Dalibor Topic <robilad at yahoo.com>
>To: Sanjeev Manral <sanjeevm at sanyo.co.in>,  "'kaffe at kaffe.org'" 
><kaffe at kaffe.org>
>CC: "'mdube at 8d.com'" <mdube at 8d.com>,  "'njike_alain at hotmail.com'" 
><njike_alain at hotmail.com>
>Subject: Re: [kaffe] kaffe-1.0.7 building for powerpc
>Date: Fri, 25 Oct 2002 04:58:49 -0700 (PDT)
>
>Hi Sanjeev,
>
>--- Sanjeev Manral <sanjeevm at sanyo.co.in> wrote:
> > Hi all,
> >
> > I'm tryiong to port kaffe-1.0.7 to ppc.I'm also
> > getting the same error. were
> > u able to get the solution ?
> >
> > I'm configuring with-
> >
> > CC=ppc_405-gcc AS=ppc_405-as LS=-ppc_405-ld
> > AR=ppc_405-ar CPP=ppc_405-g++
> > STRIP=ppc_405-strip RANLIB=ppc_405-ranlib
> > ./configure --with-x --without-awt
> >
>--with-libraries=/opt/hardhat/devkit/ppc/405/target/usr/lib
> >
>--with-includes=/opt/hardhat/devkit/ppc/405/target/usr/include
> > --prefix=/usr/local/crossppc/kaffe --target=ppc
> >
> > /**********ERROR***********/
> > configure: warning: when cross compiling, you may
> > want to set
> > ac_cv_c_char_unsigned to yes or no
> > checking for kaffeh... no
> > configure: error: please set KAFFEH to the full
> > pathname of a locally
> > executable kaffeh
> > /*********************/
>
>you need to have a working local version of kaffe
>installed first, so you can set KAFFEH to its kaffeh
>tool. That's what the error message is trying to tell
>you.
>
>You need to install kaffe 1.0.7 locally first, and
>then set KAFFEH to the full path of wherever your
>locally executable kaffeh is installed, and then try
>again ;)
>
>best regards, and good luck,
>
>dalibor topic
>
>__________________________________________________
>Do you Yahoo!?
>Y! Web Hosting - Let the expert host your web site
>http://webhosting.yahoo.com/

_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp





More information about the kaffe mailing list