FreeBSD make on other platforms [was: Re: Building FreeBSD on Linux]
On 2007-12-03 08:08, Micha?l Gr?newald [EMAIL PROTECTED] wrote: Saravanan Shanmugham (sarvi) [EMAIL PROTECTED] writes: I have tried GNU Make 3.80 as well as pmake. And I can't seem to find bmake for Linux. I have found in my vaults a script that downloads pmake source from your favorite FreeBSD's mirror and builds a binary that worked on (at least one workstation running) Linux. Since there seems to be so much interest in running FreeBSD make(1) on other platforms, I've committed what I have done so far to http://hg.hellug.gr/bmake/gker. It's not a full port of FreeBSD make(1) yet, but anyone interested to help is invited to hop in and give me a hand :) The main goal of this `project' is to have a fully buildable version of FreeBSD make(1) on Linux and Solaris, so that one can build FreeBSD-like makefiles by running: /usr/local/bin/bmake [ -f BSDmakefile ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building FreeBSD on Linux
On 2007-12-02 20:13, Saravanan Shanmugham (sarvi) [EMAIL PROTECTED] wrote: I installed/bootstrapped NetBSD pkgsrc on the linux box. This comes with bmake(which I think standas for bsdmake). pkgsrc is a very different ``beast'' altogether. It knows enough to bootstrap itself on any host with a vaguely POSIX-compatible shell, and some sort of host-make(1) tool. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building FreeBSD on Linux
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) [EMAIL PROTECTED] 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/pmakefrom 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building FreeBSD on Linux
On 2007-11-30 16:06, Saravanan Shanmugham (sarvi) [EMAIL PROTECTED] 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. You can always try booting a FreeBSD snapshot inside vmware or qemu, and build FreeBSD from FreeBSD, but that may be a bit slow... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building FreeBSD on Linux
On Mon, Dec 03, 2007 at 01:15:22AM +0200, Giorgos Keramidas wrote: On 2007-11-30 16:06, Saravanan Shanmugham (sarvi) [EMAIL PROTECTED] 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. Ben signature.asc Description: Digital signature
RE: Building FreeBSD on Linux
I installed/bootstrapped NetBSD pkgsrc on the linux box. This comes with bmake(which I think standas for bsdmake). But fails else where. Sarvi -Original Message- From: Giorgos Keramidas [mailto:[EMAIL PROTECTED] Sent: Sunday, December 02, 2007 3:15 PM To: Saravanan Shanmugham (sarvi) Cc: freebsd-questions@freebsd.org Subject: Re: Building FreeBSD on Linux Importance: High On 2007-11-30 16:06, Saravanan Shanmugham (sarvi) [EMAIL PROTECTED] 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. You can always try booting a FreeBSD snapshot inside vmware or qemu, and build FreeBSD from FreeBSD, but that may be a bit slow... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building FreeBSD on Linux
Saravanan Shanmugham (sarvi) [EMAIL PROTECTED] writes: I have tried GNU Make 3.80 as well as pmake. And I can't seem to find bmake for Linux. Hye, I have found in my vaults a script that downloads pmake source from your favorite FreeBSD's mirror and builds a binary that worked on (at least one workstation running) Linux. The file being quite long (9651 bytes) I hesitate to post it directly to the list. If list posting is appropriate, you will soon see it there, if it is not, just drop me a mail I'll send you the file. -- Best wishes, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building FreeBSD on Linux
Saravanan Shanmugham (sarvi) [EMAIL PROTECTED] writes: I installed/bootstrapped NetBSD pkgsrc on the linux box. This comes with bmake(which I think standas for bsdmake). I use NetBSD pkgsrc on MAC OS X, and Makefiles of mine are rejected by NetBSD's bmake, whereas they are accepted by MAC OS X's bsdmake. -- Best regards, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Building FreeBSD on Linux
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. Can anyone tell me why this might be failing or point me in the right directiion. Thanks, Sarvi Logs--- sarvi-lnx:23 make buildworld Makefile:109: *** missing separator. Stop. sarvi-lnx:25 pmake buildworld Makefile:109: *** missing separator. Stop. *** Error code 2 Stop. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]