Why does RTEMS have its own toolchain?

Joel Sherrill joel.sherrill at OARcorp.com
Tue Feb 8 20:01:15 UTC 2011

On 02/08/2011 01:41 PM, Rohan Kangralkar wrote:
> Hi,
> Why does RTEMS provide us with its own version of compiler which is 
> based on gnu gcc.
The compiler settings are tuned to match RTEMS.   The C library and 
RTEMS cooperatively
provide POSIX functionality.  This is built with the compiler and is 
matched to the RTEMS
> Can we use the bfin toolchain from uclinux 
> (http://blackfin.uclinux.org/gf/) for blackfin or gcc-arm-coff for arm 
> compilation?.
No.  As a minimum they will not define the proper cpp defines, include 
the right
C library, and possibly not include a proper set of multilibs.  I can 
also almost
guarantee that the RTEMS tools will track the FSF tool projects better and
include appropriate bug fixes.  We usually are the first project to release
RPMs based upon new gcc versions.

FWIW you shouldn't be using COFF on any target where ELF is available.
> -- 
> ___________________________
> Thanks and regards
> Rohan Kangralkar
> Northeastern University
> ECE department
> kangralkar.r at neu.edu <mailto:kangralkar.r at neu.edu>

Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985

More information about the users mailing list