The SH simulator doesn't build on slightly older GCC. gencode.c relies on the C99 ability (like C++) to define variables after code in a function. So for example it would generate source code in code.c like: case 37: { { RAISE_EXCEPTION_IF_IN_DELAY_SLOT (); int i; where RAISE_EXCEPTION_IF_IN_DELAY_SLOT is: #define RAISE_EXCEPTION_IF_IN_DELAY_SLOT() \ if (in_delay_slot) RAISE_EXCEPTION (SIGILL) Fortunately the fix is trivial, and attached! 2005-04-12 Jonathan Larmour * gencode.c (tab): Avoid inserting code before variables all declared. I have CVS write access to src, so I can do the check-in assuming that's easier. Jifl -- eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts --["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine