Comments on pmake diffs for building on Linux

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Mar 4 11:49:59 UTC 2008


On 2008-03-04 17:01, Daniel O'Connor <doconnor at gsoft.com.au> wrote:
> 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 :)
>
> 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.

Solaris lacks TAILQ_xxx stuff too, so I would prefer something like
"bsdcompat.h" or similar.



More information about the freebsd-hackers mailing list