> On Wed, Oct 03, 2001 at 04:05:49PM -0400, Roland McGrath wrote:
> > Oy.  This problem bites the emacs makefiles that use cpp for non-C too,
> > and emacs uses a really ugly workaround.
> > 
> > Perhaps we can win by passing -undef to cpp in the mig script.
> > Please try that.
> 
> $ i386-gnu-mig -nostdinc -DMACH -DCMU -DMACH_KERNEL -DKERNEL  -DMACH_KMSG=1 \
> -DCONTINUATIONS -D__ELF__ -Di386 -DLINUX_DEV  .......
>                           ^^^^^^
> 
> Only if that definition is also removed.

Ok, well you can fix that in the gnumach makefiles.  Some of the C code
needs -Di386, but the .defs certainly don't.  Off hand it looks like the
.defs files really only need -DMACH_KERNEL and maybe a few other ones, but
not all of $(DEFINES).  Go ahead and diddle MIGFLAGS in Makefile.in however
works best.  I will put -undef into mig, but you can just put it in
MIGFLAGS too I think.


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

Reply via email to