[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MiG expands import file path components with cpp
From: |
Marcus Brinkmann |
Subject: |
MiG expands import file path components with cpp |
Date: |
Wed, 3 Oct 2001 17:34:03 +0200 |
User-agent: |
Mutt/1.3.22i |
Hi,
I have
#if KERNEL_SERVER
simport <mach/i386/mach_i386_types.h>;
#endif
in the mach_i386_types.defs. Now look at the generated file:
$ i386-gnu-mig -nostdinc -DMACH -DCMU -DMACH_KERNEL -DKERNEL -DMACH_KMSG=1 \
-DCONTINUATIONS -D__ELF__ -Di386 -DLINUX_DEV -I../i386/i386at -I../i386/i386 \
-I../i386/include -I../i386/include/mach/sa -I../i386/bogus -I../i386 -I. \
-I.. -I../include -I../bogus -I../util -I../kern -I../device -header \
mach_i386_interface.h -server mach_i386_server.c -user /dev/null \
../i386/i386/mach_i386.srv
$ grep mach_i386_types mach_i386_server.c
#include <mach/ 1 /mach_i386_types.h>
A little experimentation shows that the i386 in /i386/ is expanded by cpp.
ARGH! Any idea what can be done about that?
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
- MiG expands import file path components with cpp,
Marcus Brinkmann <=