From: kaz K. <kk...@rr...> - 2002-09-02 02:58:24
|
Hi! I put a patch against mainline gcc (CVS, version 3.3 20020831), which enables the DWARF2 exception for SH-3/4 and the better support for c++ and java: http://dodo.nurs.or.jp/~kkojima/gnu-on-sh/gcc-sh-20020831.diff As usual, it is an experimental one. Don't use it for your real work and please forget it when it doesn't work for you :-) I've tested it only for the little endian SH-4. BTW, the compiler part was sent to the gcc mailing list already, but too late to add new features to 3.3. Tiny changes for libffi and libjava are not yet sent, since they are meaningless until the compiler part is approved. Note: This patch slightly depends on the kernel version. It assumes 2.4.18 with Jeremy's siginfo fix. For another kernels, you have to rewrite MD_FALLBACK_FRAME_STATE_FOR in gcc/config/sh/linux.h. I'm adding CXXFLAGS='-g -O' when building to avoid a few unresolved problems of the current gcc 3.3 for SH. kaz |