[cfe-dev] *-*-rtems* missing cpp define

Joel Sherrill joel.sherrill at OARcorp.com
Wed Jul 6 13:31:28 PDT 2011


The *-*-rtems* patches are checked in now.
Thanks.  But there is a minor issue.
__rtems__ is not defined.

clang -ccc-host-triple i386-rtems4.11 -ccc-gcc-name i386-rtems4.11-gcc 
-dM -E - </dev/null | grep -i rtems

The code in question is in
tools/clang/lib/Basic/Targets.cpp around line
1670.  I have checked it against what other
OSes do and don't see anything obvious.

Does anyone see what is wrong?


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 cfe-dev mailing list