This is the mail archive of the
mailing list for the GCC project.
Re: Defining __powerpc__ in rs6000.h
On Saturday 19 May 2001 07:21, Fergus Henderson wrote:
> On 18-May-2001, Franz Sirl <Franz.Sirlemail@example.com> wrote:
> > I think it's safe to completely kill -Dpowerpc and -DPPC, I've never seen
> > sources using them, they all seem to use the variants with underscores.
> I wish that were the case, but the Boehm collector uses `powerpc'
> (in include/private/gcconfig.h). There may be other software that
> does the same.
Well, no real problem, just requires the uusual guarding with undef/ansi/std=
in the spec then.
On the other hand, I consider this use of bare 'powerpc' in the GCC sources a
bug, cause it will prevent correct compilation if compiled with -ansi (or