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 <[EMAIL PROTECTED]>
> 
>       * 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 [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to