Subject: Re: bin/18292: file/mkmagic not build as a host tool properly
To: None <thorpej@shagadelic.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 09/15/2002 15:33:27
On Sat, Sep 14, 2002 at 05:49:00PM -0700, thorpej@shagadelic.org 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 ?
http://mail-index.netbsd.org/tech-toolchain/2002/03/27/0007.html
--
Manuel Bouyer <bouyer@antioche.eu.org>
--