From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 31 19:41:30 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 CD7CC1065692 for ; Fri, 31 Oct 2008 19:41:30 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail11.syd.optusnet.com.au (mail11.syd.optusnet.com.au [211.29.132.192]) by mx1.freebsd.org (Postfix) with ESMTP id 621938FC39 for ; Fri, 31 Oct 2008 19:41:30 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9VJfRtT019395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Nov 2008 06:41:28 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id m9VJfRWe054107; Sat, 1 Nov 2008 06:41:27 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id m9VJfRNb054106; Sat, 1 Nov 2008 06:41:27 +1100 (EST) (envelope-from peter) Date: Sat, 1 Nov 2008 06:41:27 +1100 From: Peter Jeremy To: Steve Franks Message-ID: <20081031194127.GD99398@server.vk2pj.dyndns.org> References: <539c60b90810311123w2aa94b8akcd0a5d0fe791885a@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UPT3ojh+0CqEDtpF" Content-Disposition: inline In-Reply-To: <539c60b90810311123w2aa94b8akcd0a5d0fe791885a@mail.gmail.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers Subject: Re: includes, configure, /usr/lib vs. /usr/local/lib, and linux coders 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: Fri, 31 Oct 2008 19:41:30 -0000 --UPT3ojh+0CqEDtpF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Oct-31 11:23:53 -0700, Steve Franks wrote: >I believe someone has told me on this list that the proper way to >compile a linux program is to run configure >--includedir=3D/usr/local/include --libdir=3D/usr/local/lib. Is that >correct? Yes. The FreeBSD toolchain does not automatically include /usr/local/... though the Linux one does. > I've got a bunch of linux weenies trying to tell me their >code isn't broken because I'm supposed to have headers where theirs >are. A very blinkered PoV... There are a whole pile of reasons why you might use/want a different layout. > They state that includedir is used by *their* project to locate >it's *own* headers, so they never bothered to wire it up in >Makefile.in....it gets ignored entirely. Then their project is broken. These options are intended for use by someone who is building the project. They are not for use by the project itself. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --UPT3ojh+0CqEDtpF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkLX2cACgkQ/opHv/APuIfrlwCeID7Fp9u6BJthi9RERWE6Fki+ xU0An3s+3W+ZsEHpIusuPCJvAv2hHaav =KQnZ -----END PGP SIGNATURE----- --UPT3ojh+0CqEDtpF--