From owner-freebsd-current@FreeBSD.ORG Wed Sep 7 17:27:46 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 977CA106566C; Wed, 7 Sep 2011 17:27:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 58F7F8FC12; Wed, 7 Sep 2011 17:27:46 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:c014:d233:d8d3:2f47] (unknown [IPv6:2001:7b8:3a7:0:c014:d233:d8d3:2f47]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id A076E5C59; Wed, 7 Sep 2011 19:27:45 +0200 (CEST) Message-ID: <4E67A991.5080605@FreeBSD.org> Date: Wed, 07 Sep 2011 19:27:45 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 MIME-Version: 1.0 To: lev@FreeBSD.org References: <1231707981.20110907201053@serebryakov.spb.ru> <4E67A720.2000903@FreeBSD.org> <1997790603.20110907212004@serebryakov.spb.ru> In-Reply-To: <1997790603.20110907212004@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current Subject: Re: WITHOUT_GCC flag disables installation of /usr/bin/cpp too -- is it Ok? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 17:27:46 -0000 On 2011-09-07 19:20, Lev Serebryakov wrote: ... > I think, that /usr/bin/cpp is valuable by itself, as it is handy > generic preprocessor tool, useful for preparing complex ipfw scripts, > for example. All others are bundled together, for sure. > > I think, it is good idea to exclude cpp from this list (but not from > WITHOUT_TOOLCHAIN, of course). The problem is that it ain't easy. :) Currently, MK_GCC==no simply disables building everything under /usr/src/gnu/usr.bin/cc, which has all the gcc subcomponents. And you cannot just build cpp by itself, specific gcc support tools need to be built first.