Date: Sat, 1 Nov 2008 06:41:27 +1100 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Steve Franks <stevefranks@ieee.org> Cc: freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: includes, configure, /usr/lib vs. /usr/local/lib, and linux coders Message-ID: <20081031194127.GD99398@server.vk2pj.dyndns.org> In-Reply-To: <539c60b90810311123w2aa94b8akcd0a5d0fe791885a@mail.gmail.com> References: <539c60b90810311123w2aa94b8akcd0a5d0fe791885a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <stevefranks@ieee.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081031194127.GD99398>