From owner-freebsd-current@FreeBSD.ORG Wed Aug 18 13:09:21 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AB8A1065674 for ; Wed, 18 Aug 2010 13:09:21 +0000 (UTC) (envelope-from dimitry@andric.com) 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 5E3BB8FC15 for ; Wed, 18 Aug 2010 13:09:21 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:f4aa:bf1e:4470:d911] (unknown [IPv6:2001:7b8:3a7:0:f4aa:bf1e:4470:d911]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9C17B5C59; Wed, 18 Aug 2010 15:09:20 +0200 (CEST) Message-ID: <4C6BDB80.9000004@andric.com> Date: Wed, 18 Aug 2010 15:09:20 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.9pre) Gecko/20100814 Lanikai/3.1.3pre MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <4C6A7357.8000606@andric.com> <20100817091515.4510ebfd@kan.dnsalias.net> <4C6A9AE7.3060704@andric.com> <86aaokb7so.fsf@ds4.des.no> In-Reply-To: <86aaokb7so.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: Building world with clang 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, 18 Aug 2010 13:09:21 -0000 On 2010-08-18 11:15, Dag-Erling Sm=C3=B8rgrav wrote: > I'm not a big fan of "reasonable chances" when it comes to the > toolchain. Me neither, which is why I created method 2 originally. :) The -isysroot method was invented by Roman Divacky in r198248. > No, what is used is a variant of method 1 *on top of* method 2 for a > very specific case. You need "a special version of clang" (method 2) > anyway to support cross-building. Eventually, clang should support building objects for all targets from one executable, but not in the short term, unfortunately...