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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Mon, Jan 30, 2006 at 07:56:55PM -0600, Michael Ekstrand wrote: > I'm having a little problem with compiling programs. > > 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. > > So: > > 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD3t3WWry0BWjoQKURArLmAKDzVMwvfyC+qeWew4LbRKhtCLLA8wCeKqTd YP2EYmjgrBen1ZPWT/18ELs= =av+5 -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060131034735.GB74061>
