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

Problems with GCC-1.1b for SH



Howdy,

There is a bug (Well known) in egcs 1.1b  to do with it using the BRAF
opcode when compiling fot the SH1. (It is only valid for the SH2 and above)

To fix this, I have to use EGCS-1.12, which compiles and works fine as an SH
compiler, BUT I can't apply the RTEMS patches to it.

Do I HAVE to use them (the patched toolchain) to compile RTEMS  or can I use
the  --target=sh-coff  toolchain instead of the --target=sh-rtems for
BINUTILS, EGCS and NEWLIB ???

Usign --target=sh-rtems is fine for doing RTEMS itself, I'll just have to
use the --exec-prefix option.



Does anyone see any problems with using this generic (sh-coff) toolchain
instead of the RTEMS patched version.



Also, Can I use NEWLIB 1.8.1  (unpatched) instead of the patched NEWLIB
1.8.0 ????


Thanks.


Mark Farnan
Resolution Engineer NT
Hewlett Packard Australia
mark_farnan at hp.com