From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 4 06:31:47 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93755106566C for ; Tue, 4 Mar 2008 06:31:47 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 36BAC8FC14 for ; Tue, 4 Mar 2008 06:31:46 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id m246VcKs053800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Mar 2008 17:01:38 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Tue, 4 Mar 2008 17:01:28 +1030 User-Agent: KMail/1.9.7 References: <20080303.224256.635730757.imp@bsdimp.com> In-Reply-To: <20080303.224256.635730757.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1271132.v4aLMbFU4M"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200803041701.36466.doconnor@gsoft.com.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: hackers@freebsd.org Subject: Re: Comments on pmake diffs for building on Linux X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 06:31:47 -0000 --nextPart1271132.v4aLMbFU4M Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 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=20 more obvious what it's for and why it's there. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "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 --nextPart1271132.v4aLMbFU4M Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHzOzI5ZPcIHs/zowRAkw+AKCKfM8jXcOnVyB31gUq6+BD9Yp7WwCfR7r7 tVzXC1yfQ1baqLPORXUJfhM= =Onqc -----END PGP SIGNATURE----- --nextPart1271132.v4aLMbFU4M--