[kaffe] building for powerpc

Mathieu Dube mdube@8d.com
Wed, 10 Jul 2002 12:19:51 -0400


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'

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
http://egp.free.fr/port-kaffe/

I'll keep at it

Thanks
-Mat

On Wednesday 10 July 2002 11:36, you wrote:
> On Tue, 2002-07-09 at 12:40, Mathieu Dube wrote:
> > Ok,
> > 	having read the mail from Mark and Janice Juszczec. I tried this:
> > CC=/usr/local/bin/powerpc-snmc-linux-gnu-gcc
> > AS=/usr/local/bin/powerpc-snmc-linux-gnu-as
> > LD=/usr/local/bin/powerpc-snmc-linux-gnu-gcc
> > ./configure --target=powerpc-linux
> > --with-includes=/usr/local/powerpc-snmc-linux-gnu/include/
> > --with-libraries=/usr/local/powerpc-snmc-linux-gnu/lib/
> > --with-engine=jit3
> >
> > but I get this error:
> > configure: error: installation or configuration problem: C compiler
> > cannot create executables.
> >
> > its weird coz I compiled some test programs that came with those
> > cross-compiling tools so Im wondering what Im doing wrong...
>
> The configure script tried to compile a trivial program to see if your
> cross-compile works, and it failed.  Take a look at the generated
> config.log file - that should show you what it tried to compile, and the
> error message.
>
> Cheers,
>
>  - Jim
>
>
>
> _______________________________________________
> kaffe mailing list
> kaffe@kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

-- 
Mathieu Dube -- mdube@8d.com
8D Technologies Inc.
http://www.8d.com