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

Problems with GCC-1.1b for SH




On Thu, 13 May 1999, Mark Farnan wrote:

> 
> 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.

There are subtle differences on how limits.h is handled but it may work.  

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

1.8.1 is broken for RTEM Sout of the box.

--joel