From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 17:30:53 2014 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A1B2DC3; Mon, 28 Apr 2014 17:30:53 +0000 (UTC) Received: from server.i805.com.br (mailhost.i805.com.br [72.52.97.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5714F1951; Mon, 28 Apr 2014 17:30:52 +0000 (UTC) Received: from i805.com.br (localhost [127.0.0.1]) by server.i805.com.br (8.14.8/8.14.5) with ESMTP id s3SHRcet071875; Mon, 28 Apr 2014 14:27:38 -0300 (BRT) (envelope-from rizzo@i805.com.br) From: "Nilton Jose Rizzo" To: Ian Lepore , Julian Elischer Subject: Re: options for forcing use of GCC Date: Mon, 28 Apr 2014 14:27:38 -0300 Message-Id: <20140428172211.M44034@i805.com.br> In-Reply-To: <1398695014.61646.212.camel@revolution.hippie.lan> References: <535D1350.4000106@freebsd.org> <1398616234.61646.155.camel@revolution.hippie.lan> <535DFB11.4020904@freebsd.org> <1398686749.61646.203.camel@revolution.hippie.lan> <535E5FA0.9050703@freebsd.org> <1398695014.61646.212.camel@revolution.hippie.lan> X-Mailer: OpenWebMail 3.00_beta4 20121104 671 X-OriginatingIP: 200.11.0.13 (rizzo) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on server.i805.com.br Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 28 Apr 2014 17:30:53 -0000 Em Mon, 28 Apr 2014 08:23:34 -0600, Ian Lepore escreveu > On Mon, 2014-04-28 at 22:03 +0800, Julian Elischer wrote: > > On 4/28/14, 8:05 PM, Ian Lepore wrote: > > > On Mon, 2014-04-28 at 14:54 +0800, Julian Elischer wrote: > > >> On 4/28/14, 12:30 AM, Ian Lepore wrote: > > >>> WITH_GCC=yes \ > > >>> WITH_GNUCXX=yes \ > > >>> WITHOUT_CLANG=yes \ > > >>> WITHOUT_CLANG_IS_CC=yes \ > > >> forgot to ask.. is this in /etc/make.conf? > > >> or elsewhere? > > > Actually in our build system we build in a chroot, and we inject those > > > args into the environment during the builds so that we can have > > > different options for building world versus cross-world within the > > > chroot, but I think the more-normal place would be make.conf. > > > > we also use a combination of environment and make.conf in a chroot. > > though people sometimes talk about a src.conf (or is that src.mk?) but > > I haven't found that one yet. You must be create in /etc the src.conf and put this knobs there. In my case I would like to use only clang, but have some ports that assume gcc as mandatory. Rizzo > > > > > > -- Ian > > > > > > > > > > > In theory, /etc/make.conf affects all builds you do -- world, kernel, > ports, your own apps, everything -- whereas /etc/src.conf affects > only kernel and world. I've heard it said that the reality falls > short of that and src.conf settings inappropriately leak into ports builds. > > -- Ian > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --- /************************************************* **Nilton José Rizzo UFRRJ **http://www.rizzo.eng.br http://www.ufrrj.br **http://lattes.cnpq.br/0079460703536198 **************************************************/