From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 24 16:47:44 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28A8E1065674; Sat, 24 Apr 2010 16:47:44 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 787508FC13; Sat, 24 Apr 2010 16:47:43 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so734775fge.13 for ; Sat, 24 Apr 2010 09:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PrrRwMWTXEsFYHAu/3szo1o0pBJJm2ZzqPP7fH8BzyY=; b=DkRNiEOMIrNbn6bEtHUpUYvriOLKZtJz9Re4UTT1oYNOHAlsx+hneLr2XM4qtkha9V OGZ8LMrO+Wnd4vE8Ua35qvSQPaXnw21DW4XliDbQSoOFe7Dy0zWtgHMbYlMsjt21G6+J nshS/KGmvXn2XOPOhBAL+KRpU1TS+lBkbKwFU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vudKpLfl1CHa/BjKsdrZx5gBP8kl/o4Xnmh+XTUTLytUMdKtGPQQ9Cd/bR/e01bWXK LVFy2VhC7RltNPOhSvuLjd6QaWJT6GyEH/EDGznbbyFZDMxSFV28ZytmUhJKj6R5F8nP 34S38g3tTH62ugogCqhZLrKny6Hot0wQsJFtg= MIME-Version: 1.0 Received: by 10.239.134.72 with SMTP id 8mr161909hby.0.1272127662041; Sat, 24 Apr 2010 09:47:42 -0700 (PDT) Received: by 10.239.142.17 with HTTP; Sat, 24 Apr 2010 09:47:42 -0700 (PDT) In-Reply-To: <201004241642.38017.ken@mthelicon.com> References: <201004241642.38017.ken@mthelicon.com> Date: Sat, 24 Apr 2010 17:47:42 +0100 Message-ID: From: Tom Evans To: Pegasus Mc Cleaft Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: kern+world / ports make options X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2010 16:47:44 -0000 On Sat, Apr 24, 2010 at 5:42 PM, Pegasus Mc Cleaft wrot= e: > Hello Hackers & Current, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0I was wondering it if is possible, or if it ca= n be done so a separate set > of CC, CXX, etc can be specified for building the world and kernel > independently of a ports build? > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Right now, I use the base GCC to compile the w= orld and kernel, and GCC44 > for most of the other ports (when it complies cleanly). But I have to kee= p > editing the /etc/make.conf file to switch between the two. > > =C2=A0 =C2=A0 =C2=A0 =C2=A0It may already be implemented, but it would be= nice if there was > something defined while the kernel and/or world is being built to that a > nested block of ifdefs can select which env variables to be set. > > Peg man src.conf Cheers Tom