Comments on pmake diffs for building on Linux

Chuck Robey chuckr at
Wed Mar 5 20:36:52 UTC 2008

Hash: SHA1

Warner Losh wrote:
> From: "Daniel O'Connor" <doconnor at>
> 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 bet a very large portion of those among us who are professional codes
have had been forced at some time to port our make, whether it was the
original pmake, or the up-to-date version (I did the most up to date I
could manage.  Getting something like  this done would be a greaat thing,
it would very seriously help not just ourselves, but all programmers around
the world, but i very seriously doubt you'll ever get it done,  Thoe folks
who thought that making it the most elegant thing on earth without allowing
the least consideration towards cross-compatibility, thoes folks are going
to raise political hell on every step of the way, bring in every white
elephant argument as often as allowed, and most likely force this project
into ports, which is a seriously bad place for it to go, because that
advertisess that we, thje FreeBSD group, are committed to not giving it any
continuing support, and so no one will be able to rely upon it.

The politicians amongst us will kill it, which I'm very osrry to predict

>> 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
> _______________________________________________
> freebsd-hackers at mailing list
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at"

Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla -


More information about the freebsd-hackers mailing list