From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 19:16:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CED716A418 for ; Mon, 3 Dec 2007 19:16:36 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id 6B9A813C44B for ; Mon, 3 Dec 2007 19:16:36 +0000 (UTC) (envelope-from chuckr@chuckr.org) Received: (qmail 19181 invoked from network); 3 Dec 2007 19:16:35 -0000 Received: from april.chuckr.org (chuckr@[66.92.151.30]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 3 Dec 2007 19:16:35 -0000 Message-ID: <475455A9.601@chuckr.org> Date: Mon, 03 Dec 2007 14:14:49 -0500 From: Chuck Robey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071107 SeaMonkey/1.1.6 MIME-Version: 1.0 To: "Benjamin M. A'Lee" References: <20071202231522.GC2172@kobe.laptop> <20071203013339.GB6049@gilmour.subvert.org.uk> In-Reply-To: <20071203013339.GB6049@gilmour.subvert.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Building FreeBSD on Linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2007 19:16:36 -0000 Benjamin M. A'Lee wrote: > On Mon, Dec 03, 2007 at 01:15:22AM +0200, Giorgos Keramidas wrote: >> On 2007-11-30 16:06, "Saravanan Shanmugham (sarvi)" wrote: >>> >>> Hi, >>> I am trying to build all of FreeBSD from a Linux Machine and seem to >>> be running into problems. We have farm of build machines that we use >>> to build many other things and my team would look like to use it going >>> forward for our FreeBSD development. >>> >>> Has anyone tried this before? >>> >>> I have tried GNU Make 3.80 as well as pmake. And I can't seem to find >>> bmake for Linux. >> I don't know of any port of BSD make(1) to Linux, or if that would be >> sufficient to cross-build FreeBSD. I'm trying to build a snapshot of >> FreeBSD make(1) which builds with autoconf, for other stuff, but it >> may take a while before I have a fully autoconf-ified version and that >> may still not be adequate. > > Debian has a package 'freebsd5-buildutils', which includes a version of > make that runs on GNU/Linux. I used it for a while when I was too lazy > to port some makefiles to GNU make. I don't know, however, if it'll > build more recent versions of FreeBSD than 5.x. Besides FreeBSD, I run Gentoo Linux also, so I ssh'ed over to that system (to june) and asked 'emerge' is make existed. I got 2 hits (that were BSD makes, I actually got abouot 30 hits of various kinds), they were: sys-devel/make NetBSD's make sys-devel/pmake from NetBSD also pmake, that's the root name for our own make. There's nothing in our make that is intrinsically non-portable, but over thje years, step by step (and I mouned everyone, I felt them to be distinct mistakes) various of make's routines were reorganized into libraries that had non-portable parts. This has made out make distinctly non-portable, even though there isn't one single item in it that is iin itself non-portable. Once, for an employer, I ripped all the mini-pieces of code from all those single libs, and constructed one single, portable library, which made our make portable to anything, even Windows. There's no reason is couldn't happen, except that a lot of folks don't care a whit about portability, and like their idea of elegance more. Me, I like standards more. You could still assemble a libmake, it takes time, but it's in itself not all that difficult to do.