Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Mar 2008 23:51:28 -0700 (MST)
From:      Warner Losh <imp@bsdimp.com>
To:        doconnor@gsoft.com.au
Cc:        freebsd-hackers@freebsd.org, hackers@freebsd.org
Subject:   Re: Comments on pmake diffs for building on Linux
Message-ID:  <20080303.235128.41690803.imp@bsdimp.com>
In-Reply-To: <200803041701.36466.doconnor@gsoft.com.au>
References:  <20080303.224256.635730757.imp@bsdimp.com> <200803041701.36466.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
Subject: Re: Comments on pmake diffs for building on Linux
Date: Tue, 4 Mar 2008 17:01:28 +1030

> On Tue, 4 Mar 2008, M. Warner Losh wrote:
> > Greetings,
> >
> > here's a set of diffs that will allow FreeBSD's usr.bin/make to build
> > on Linux.  I'm sure they are gross, and I don't plan to commit them
> > (at least not all of them), but I thought I'd post them here to see
> > what people think.
> >
> > I think that the extra config.h includes, the errc -> errx patches
> > and the Makefile.dist patches may be good for the tree.  The rest may
> > not meet FreeBSD's source tree policies.
> >
> > Comments?
> 
> I did this a while ago when porting some of our code to Linux because it 
> builds with pmake..
> 
> Your patches are much nicer than mine however :)

I was in a hurry, since I thought I could do it in a half hour and
that was faster than explaining things...

> The tailq stuff could be shoved into a linux.h or some such.. So it's 
> more obvious what it's for and why it's there.

I resisted creating a linux.h, but we'll likely need something akin to
it.  When I did some Mac OS X experimentation, I had extensions to
legacy to smooth over the rough edges, but it is too early here.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080303.235128.41690803.imp>