Subject: Re: bin/18292: file/mkmagic not build as a host tool properly
To: None <>
From: Manuel Bouyer <>
List: netbsd-bugs
Date: 09/15/2002 15:33:27
On Sat, Sep 14, 2002 at 05:49:00PM -0700, wrote:
> >Description:
> 	mkmagic uses apprentice.c and print.c from the file sources.
> 	However, it includes a "config.h" which is the target's config.h
> 	in the file sources.  It needs to include the host's config.h
> 	generated for host tools (and that config.h also needs to define
> 	macros that mksyntax needs).

Lots of sources uses a local config.h. To solve this I proposed
to rename the tool config.h to config-tool.h, to avoid confusion.
Maybe it's better ?

Manuel Bouyer <>