Date: Mon, 30 Jan 2006 22:47:35 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Michael Ekstrand <lists@elehack.net> Cc: freebsd-stable@freebsd.org Subject: Re: GCC not searching /usr/local/include Message-ID: <20060131034735.GB74061@xor.obsecurity.org> In-Reply-To: <20060130195655.e2c9da19.lists@elehack.net> References: <20060130195655.e2c9da19.lists@elehack.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--dc+cDN39EJAMEtIO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 30, 2006 at 07:56:55PM -0600, Michael Ekstrand wrote: > I'm having a little problem with compiling programs. >=20 > It seems that gcc does not search /usr/local/include for headers by > default; I have to specify -I/usr/local/include. It seems to me that it > should. >=20 > So: >=20 > Should gcc be searching /usr/local/include by default? No, if you want to look for third-party headers you need to point the compiler there yourself. Kris --dc+cDN39EJAMEtIO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD3t3WWry0BWjoQKURArLmAKDzVMwvfyC+qeWew4LbRKhtCLLA8wCeKqTd YP2EYmjgrBen1ZPWT/18ELs= =av+5 -----END PGP SIGNATURE----- --dc+cDN39EJAMEtIO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060131034735.GB74061>