[cfe-commits] [PATCH] More predefined symbols for PowerPC targets

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Aug 7 16:15:00 PDT 2012


> If the upstream GNU gcc config matches what Apple is utilizing for their
> copy of gcc 4.2.1 as shipped with Xcode then what Clang is providing for
> these symbols does not match what GCC provides for Darwin/OS X nor Linux
> nor FreeBSD nor OpenBSD. The Darwin/OS X GCC config exposes less symbols
> and the rest provide more.
>
> I'm not that familiar with the Clang code. How do you go about handling
> the symbols differently for different OS targets?

Check __APPLE__ for example.

Cheers,
Rafael



More information about the cfe-commits mailing list