[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] MiG: handle '-isystem ...' correctly
From: |
Thomas Schwinge |
Subject: |
[PATCH] MiG: handle '-isystem ...' correctly |
Date: |
Sat, 9 Apr 2005 13:11:22 +0200 |
User-agent: |
Mutt/1.4.2.1i |
Hello!
MiG currently breaks when '-isystem ...' is specified on its command
line:
#v+
echo '#include <mach/mach.defs>' | CC='gcc' CPP='gcc -E -x c' mig - /dev/null
-DMACH_IPC_COMPAT=0 -DSTANDALONE -DTypeCheck=0 -I../include -I.
-I/var/tmp/build/glibc/glibc-2.3-branch-build/mach -I.. -I../libio -I../hurd
-I/var/tmp/build/glibc/glibc-2.3-branch-build/hurd/ -I../mach
-I/var/tmp/build/glibc/glibc-2.3-branch-build/mach/
-I/var/tmp/build/glibc/glibc-2.3-branch-build -I../sysdeps/i386/elf
-I../sysdeps/mach/hurd/i386 -I../sysdeps/mach/hurd -I../sysdeps/gnu
-I../sysdeps/unix/bsd/bsd4.4 -I../sysdeps/unix/mman -I../sysdeps/mach/i386
-I../sysdeps/mach -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/unix/bsd
-I../sysdeps/unix/common -I../sysdeps/unix/inet -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -nostdinc -isystem
/fs/pkgs/mount/package/misc/spf/gcc-3.4-branch-20050217T150000Z-1/bin/../lib/gcc/i686-unknown-gnu0.3/3.4.4/include
-isystem /package/misc/spf/gnumach/include -isystem
/package/misc/spf/hurd/include -Dvm_map=vm_map_rpc
-Dvm_allocate=vm_allocate_rpc -Dvm_deallocate=vm_deallocate_rpc
-Dtask_create=task_create_rpc -Dtask_terminate=task_terminate_rpc
-Dtask_suspend=task_suspend_rpc
-Dtask_set_special_port=task_set_special_port_rpc
-Dmach_port_allocate=mach_port_allocate_rpc
-Dmach_port_deallocate=mach_port_deallocate_rpc
-Dmach_port_insert_right=mach_port_insert_right_rpc
-Dmach_port_allocate_name=mach_port_allocate_name_rpc
-Dthread_depress_abort=thread_depress_abort_rpc -subrprefix __ -prefix __
-header
/var/tmp/build/glibc/glibc-2.3-branch-build/mach/mach/mach_interface.__h
-server /dev/null -user /dev/null
<stdin>:1:26: mach/mach.defs: No such file or directory
mig: fatal: no SubSystem declaration
#v-
Note that there are still a huge number of other options left to make MiG
break, but caring for all of them would nearly mean reimplementing GCC's
frontend 'gcc'--I'd suggest to just add those causing real problems, like
the one above.
Could someone please apply the attached mig_-isystem.patch?
2005-04-09 Thomas Schwinge <schwinge@nic-nac-project.de>
* mig.in: Handle the preprocessor option '-isystem ...' correctly.
Regards,
Thomas
mig_-isystem.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] MiG: handle '-isystem ...' correctly,
Thomas Schwinge <=