[kaffe] building for powerpc
Mathieu Dube
mdube at 8d.com
Wed Jul 10 14:10:41 PDT 2002
Well actually those linked helped
specially this: http://www2.biglobe.ne.jp/~inaba/sysdepCallMethod.html found
in one of them
The problem is that the sysdepCallMethod called by callMethodA and
callMethodV in support.c
basically it had the sysdepCallMethod of i386 becoz config/md.h had #include
"./i386/linux/md.h" instead of "./powerpc/linux/md.h" even though I told the
configure script that the target was powerpc-linux
Its almost compiling now...
The problem left is that when it compiles kaffe-bin I get an undefined
reference to sysdepCallMethod.
So I might be close
hehe
Thanks
-Mat
On Wednesday 10 July 2002 16:31, you wrote:
> hi Mathieu,
>
> --- Mathieu Dube <mdube at 8d.com> wrote:
> > Yes,
> > I removed the exit there. Im now at the assembly
> > part :
> > gcc -DHAVE_CONFIG_H -I. -I. -I../../config
> > -I../../include
> > -I../../kaffe/kaffevm/systems/unix-jthreads -Iintrp
> > -I./intrp -I../../libltdl
> > -DINTERPRETER -I../../kaffe/xprof
> > -DKVER=\"1.1.x-cvs\"
> > -I/home/mat/kaffe/./kaffe/kaffevm
>
> -I/home/mat/kaffe/./kaffe/kaffevm/systems/unix-jthreads
>
> > -I../../config
> > -I../../include
> > -I/usr/local/powerpc-snmc-linux-gnu/include/
> > -DNDEBUG -g -O2
> > -Wall -Wstrict-prototypes -Wp,-MD,.deps/support.pp
> > -c support.c
> > -fPIC -DPIC -o support.lo
> > /tmp/ccSw2cwx.s: Assembler messages:
> > /tmp/ccSw2cwx.s:2273: Error: Unrecognized opcode:
> > `pushl'
> > /tmp/ccSw2cwx.s:2349: Error: Unrecognized opcode:
> > `addl'
> > /tmp/ccSw2cwx.s:3229: Error: Unrecognized opcode:
> > `pushl'
> > /tmp/ccSw2cwx.s:3305: Error: Unrecognized opcode:
> > `addl'
>
> pushl is an i386 opcode, there is no pushl in the
> files in the config/powerpc directory. Are you sure
> that you set the platform right for configure?
>
> > but I found some interesting links on porting kaffe
> > to ppc if anybody else is
> > interested:
>
> http://www.progsoc.uts.edu.au/~rheise/pages/kaffe.html
>
> http://www.progsoc.uts.edu.au/~rheise/pages/linux.html
>
> I'm not sure if you'll have much luck with those, they
> are patches for kaffe 0.8.2 with biss awt ... that was
> about 5 years ago, I think ;)
>
> best regards,
> dalibor topic
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
--
Mathieu Dube -- mdube at 8d.com
8D Technologies Inc.
http://www.8d.com
More information about the kaffe
mailing list