From: kaz K. <kk...@rr...> - 2001-04-15 01:23:51
|
Hi, I'm trying to make gcj working. For this, I've ported gcc/libffi stuff to SH which is tested on little endian sh4 only. The libffi library gives a generalized calling convention of the function. If you have a chance to run ffitest with this stuff on big endian sh4 or both endian sh3, please tell me its result. The ffitest program is a test program for libffi and created when gcc is built with --enable-languages=c,c++,java configuration option. Perhaps to make a statically linked ffitest manually will be enough and easy in cross environment. If it's difficult to make ffitest, stop and forget to do this test. Please don't ask me how to do it. :-) Current libffi stuff for SH are http://dodo.nurs.or.jp/~kkojima/gnu-on-sh/gcc-cvs-libffi-sh.diff and http://dodo.nurs.or.jp/~kkojima/gnu-on-sh/gcc-cvs-libffi-sh-2add.tar.gz where the former is a patch to the current mainline cvs of gcc and the latter is the new files which should be put into the new libffi/src/sh directory. Thanks in advance. kaz -- BTW, I've got hello world from the java program which is natively compiled with gcj. |