From owner-svn-src-head@FreeBSD.ORG Thu May 16 22:24:36 2013 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3C45D4C3; Thu, 16 May 2013 22:24:36 +0000 (UTC) (envelope-from andreast@FreeBSD.org) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id C7899FEB; Thu, 16 May 2013 22:24:35 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id r4GM61MW085773; Fri, 17 May 2013 00:06:05 +0200 (CEST) (envelope-from andreast@FreeBSD.org) Message-ID: <51955849.4020503@FreeBSD.org> Date: Fri, 17 May 2013 00:06:01 +0200 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Brooks Davis Subject: Re: svn commit: r250659 - in head: . share/mk tools/build/options tools/tools/makeroot References: <201305151430.r4FEU31J061480@svn.freebsd.org> In-Reply-To: <201305151430.r4FEU31J061480@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2013 22:24:36 -0000 On 15.05.13 16:30, Brooks Davis wrote: > Author: brooks > Date: Wed May 15 14:30:03 2013 > New Revision: 250659 > URL: http://svnweb.freebsd.org/changeset/base/250659 > > Log: > Add support for an external cross compiler. The cross compiler is > specified by passing the XCC, XCXX, and XCPP variables (corresponding to > CC, CXX, and CPP) to buildworld/buildkernel. The compiler must be clang > or be configured to target the appropriate architecture. > > To speed build times, if XCC is an absolute path or > WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built > during the cross-tools stage. > > Limited documentation of this feature can currently be found at: > > https://wiki.freebsd.org/ExternalToolchain > > This functionality should be considered experimental and is subject to > change without notice. > > Sponsored by: DARPA, AFRL > Discussed with: imp, sjg I had to revert this commit to be able to build world and kernel with WITHOUT_CLANG_IS_CC in /etc/src.conf It did not find the headers (like math.h) when building the 32-bit part on amd64. Andreas