This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Another fixincludes problem
- To: bkorb at cruzio dot com
- Subject: Another fixincludes problem
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Tue, 05 Dec 2000 11:25:02 +0000
- cc: rearnsha at arm dot com, gcc-bugs at gcc dot gnu dot org
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
Bruce, can you advise on this one? It's been on my to-do list for a
while, but I've had a local hack to work around it, so I've been putting
it off.
We need to start running fixincludes on NetBSD, since we need to fix up
one or two header files. One particular case is machine/ansi.h, where we
need the __builtin_va_list fix. Unfortunately, this fix is not being
applied by default. I suspect that this is because machine is a symlink
on NetBSD to arm32, the architecture specific directory (this seems to be
the reverse of freeBSD, where machine is the directory and i386 is the
symlink). I really don't want to start adding each netbsd target
architecture to this fix (it would make the list very long, and constantly
out of date). But I have confirmed that adding arm32/ansi.h to this fix
is sufficient to solve the problem.
Am I correct in suspecting this is a symlink problem? If so, have you any
idea how it might be solved?
R.