Subject: bin/18292: file/mkmagic not build as a host tool properly
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 09/14/2002 17:49:00
>Synopsis: file/mkmagic not build as a host tool properly
>Arrival-Date: Sat Sep 14 17:50:00 PDT 2002
>Originator: Jason R Thorpe
>Release: NetBSD 1.6D
Wasabi Systems, Inc.
System: NetBSD yeah-baby.shagadelic.org 1.6D NetBSD 1.6D (YEAH-BABY-XP) #10: Wed Jul 10 11:36:52 PDT 2002 firstname.lastname@example.org:/u1/netbsd/src/sys/arch/i386/compile/YEAH-BABY-XP 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.