[cfe-dev] *-*-rtems* missing cpp define
Eli Friedman
eli.friedman at gmail.com
Wed Jul 6 13:56:54 PDT 2011
On Wed, Jul 6, 2011 at 1:31 PM, Joel Sherrill <joel.sherrill at oarcorp.com> wrote:
> Hi,
>
> 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?
Try r134532.
-Eli
More information about the cfe-dev
mailing list