From owner-p4-projects@FreeBSD.ORG Sat Jan 19 19:21:59 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D1C7916A46D; Sat, 19 Jan 2008 19:21:58 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C76D16A468; Sat, 19 Jan 2008 19:21:58 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 54EAA13C478; Sat, 19 Jan 2008 19:21:58 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id m0JJI7xo081233; Sat, 19 Jan 2008 12:18:07 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 19 Jan 2008 12:21:00 -0700 (MST) Message-Id: <20080119.122100.-1947363520.imp@bsdimp.com> To: bms@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <4790B2CE.3000707@FreeBSD.org> References: <200801180532.m0I5WSsY047069@repoman.freebsd.org> <4790B2CE.3000707@FreeBSD.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: perforce@FreeBSD.org Subject: Re: PERFORCE change 133523 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 19:21:59 -0000 In message: <4790B2CE.3000707@FreeBSD.org> "Bruce M. Simpson" writes: : Warner Losh wrote: : > http://perforce.freebsd.org/chv.cgi?CH=133523 : > : > Change 133523 by imp@imp_paco-paco on 2008/01/18 05:31:51 : > : > Go ahead and integrate my cross build patches here so that : > I can build cross compilers. : > : > : : What's LIBC= for? MAC OS X build. Likely an oversight on my part. : It looks like you added install targets for xdev, does this mean we can : build cross compilers and install them w/o having to run them from the : top level src makefile targets? Yes. : It would be great if there were something to simplify the means of : building cross toolchains similar to Gentoo's crossdev. : : There are many devices out there which FreeBSD could potentially run on : -- however the vendors ship them with Linux, and being able to get e.g. : cross builds of mtd-utils to run on them would be very helpful for : opening them up. Yup. That's the idea. The other part of the ideas I've had was to have buildworld behave differently when CROSS_COMPILER=xxxx-ytyyyy- is set. Have it just build w/o building the tools to build freebsd (at least not the compiler/linker parts). Warner