[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kaffe 1.0.5 for Linux pppc



HI all

I used the debian (potato Linux version 2.2.6-15apmac) on my imac Rev B,
it 's work very well - better than maos ;-)
I need to execute some Java Application,  then I need to used Kaffe.

I have try to compile Kaffe-1.0.5 when do make  I reiceve a gcc parse
errors.
......
gcc -DINTERPRETER -DKVER=\"1.0.5\" -I. -I. -I../.. -I./../..
-I../../../../config -I../../../../config -I../../../../include
-I../../../../include -DKVER=\"1.0.5\" -
I/opt/gnu/kaffe-1.0.5/./kaffe/kaffevm
-I/opt/gnu/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-jthreads
-I../../../../config -I../../../../include -I/usr/local/include -g
 -fsigned-char -c jthread.c  -fPIC -DPIC -Wp,-MD,.deps/jthread.TPlo -o
jthread.lo
jthread.c: In function `jthread_create':
jthread.c:1256: parse error before `?'
jthread.c:1266: parse error before `?'
jthread.c: In function `reschedule':
jthread.c:1514: parse error before `?'
......

I checked  line  1256 of jthread.c

#if defined(SAVE_FP)
        SAVE_FP(jtid->fpstate);
#endif
        /* set up context for new thread */
        oldstack = GET_SP(jtid->env);
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^

GET_SP is define as :

#define GET_SP(E)       (((void**)(E))[SP_OFFSET])

SP_OFFSET is define in   config-jthreads.h   but there is no case for
linux pppc.
So I have try to force SP_OFFSET  to 3 as AIX on IBM PowerPC but still
have the same message when do make

Any Idea ?

Thanks Jblanche


Reply to: