Comments on pmake diffs for building on Linux

Daniel O'Connor doconnor at
Tue Mar 4 06:46:06 UTC 2008

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.

Daniel O'Connor software and network engineer
for Genesis Software -
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url :

More information about the freebsd-hackers mailing list