This is the mail archive of the
mailing list for the GCC project.
Re: Patch to remove re-assert warnings on powerpc-*-linux-*
- To: Daniel Jacobowitz <drow at false dot org>
- Subject: Re: Patch to remove re-assert warnings on powerpc-*-linux-*
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Wed, 31 Mar 1999 01:50:56 -0700
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <19990329112822.A23127@drow.res.cmu.edu>you write:
> On Mon, Mar 29, 1999 at 12:11:34AM -0700, Jeffrey A Law wrote:
> > I don't think this is correct.
> > Look at how CPP_OS_LINUX_SPEC is used in CPP_SPEC.
> > Specifically, it supposed to be used to provide linux defines and asserti
> > when the -mcall-linux flag is given to the compiler.
> > If you remove stuff from CPP_OS_LINUX_SPEC you will break that functional
> > This goes for both -D arguments and assertions.
> > I think to really resolve this issue you're going to have to go the other
> > and remove the linux stuff from CPP_PREDEFINES in linux.h (and make sure
> > everything has an equivalent in CPP_OS_LINUX_SPEC).
> That makes sense.
> I assume I should also fix the conditions for -Dunix and -Dlinux. Is
> adding -Asystem(posix) also correct? Should -D__ELF__ be removed as
> well? I didn't because I couldn't see where to re-add it best.
You should probably check with Franz Sirl, Geoffrey Keating, or HJ Lu for
what symbols and asserts ought to be active across all Linux systems. They're
the experts on the linux requirements.