Subject: toolchain/23112: gcc 3.3 tools build requires target includes
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 10/09/2003 14:53:36
>Synopsis: gcc 3.3 tools build requires target includes
>Arrival-Date: Thu Oct 09 21:54:00 UTC 2003
>Originator: Jason R Thorpe
>Release: NetBSD 1.6ZC
-- Jason R. Thorpe <firstname.lastname@example.org>
System: NetBSD yeah-baby.shagadelic.org 1.6ZC NetBSD 1.6ZC (YEAH-BABY-XP) #20: Sat Sep 20 10:24:38 PDT 2003 email@example.com:/u1/netbsd/src/sys/arch/i386/compile/YEAH-BABY-XP i386
Building src/tools/gcc requires the target's include files
to be present. The GNU configure-style build will attempt to
build the GCC crtstuff. The crtstuff includes tsystem.h, which
includes the GCC stddef.h, which attempts to include <machine/ansi.h>,
which fails since it does not yet exist.
Attempt to build tools with the target includes not present.
Add a mechanism to disable building of the GCC crtstuff, the
same way that the libgcc build is disabled during tools build.