[cfe-commits] [PATCH] More predefined symbols for PowerPC targets
Brad Smith
brad at comstyle.com
Mon Aug 6 15:58:48 PDT 2012
On Thu, Aug 02, 2012 at 10:37:24AM -0400, Rafael Esp??ndola wrote:
> On 2 August 2012 10:03, Brad Smith <brad at comstyle.com> wrote:
> > Comparing the predefined symbols that OpenBSD/powerpc's gcc target
> > provides vs Clang showed that were a few missing in Clang's driver
> > config. The attached patch adds the missing ones.
> >
>
> This also defines it for darwin, right? Anyone with an OS X gcc that
> still has ppc support? Could you please check if these macros are also
> defined there?
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?
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the cfe-commits
mailing list