Subject: bin/18292: file/mkmagic not build as a host tool properly
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/14/2002 17:49:00
>Number:         18292
>Category:       bin
>Synopsis:       file/mkmagic not build as a host tool properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 14 17:50:00 PDT 2002
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.6D
Wasabi Systems, Inc.
System: NetBSD 1.6D NetBSD 1.6D (YEAH-BABY-XP) #10: Wed Jul 10 11:36:52 PDT 2002 i386
Architecture: i386
Machine: i386
	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).

	To do this properly probably requires a separate directory in
	which to build these the host tool.

	Code inspection.

	Not provided.