[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -undef in mig's cppflags
From: |
Marcus Brinkmann |
Subject: |
Re: -undef in mig's cppflags |
Date: |
Sat, 29 Dec 2001 03:06:34 +0100 |
User-agent: |
Mutt/1.3.24i |
On Mon, Dec 03, 2001 at 04:13:06PM +0100, Alfred M. Szmidt wrote:
> * Marcus Brinkmann writes:
> > Hi, Roland added cppflags=-undef to mig's invocation to cpp. The
> > Hurd replaces mig with cat and then "cat -undef" is invoked, leading
> > to an error.
>
> > What is the right fix for this?
>
> I already suggested a possible fix for this, but nobody other then you replied
> to the message.
>
> ChangeLog:
> 2001-12-03 Alfred M. Szmidt <ams@kemisten.nu>
>
> * config.make.in (MIGCOM): cat changed to "$(CPP)".
Well, another possibility is to just drop the -cc flag, because "gcc -E -x c"
is the default already (why is it set to cat anyway?).
Yet another possibility would be to leave it "cat" and change mig to not
have -undef in the cppflags variable, but in default_cpp:
default_cpp="gcc -E -x c -undef"
cppflags=""
A third possibility is to drop the -undef again, because it does not work
anyway (i386 is still defined to 1 in gcc). Roland, you did this change,
what do you think?
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de