From owner-freebsd-stable@FreeBSD.ORG Tue Jan 31 03:47:37 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80C7416A420 for ; Tue, 31 Jan 2006 03:47:37 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20D0043D5C for ; Tue, 31 Jan 2006 03:47:36 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id F30F11A4D79; Mon, 30 Jan 2006 19:47:35 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 545F7520B2; Mon, 30 Jan 2006 22:47:35 -0500 (EST) Date: Mon, 30 Jan 2006 22:47:35 -0500 From: Kris Kennaway To: Michael Ekstrand Message-ID: <20060131034735.GB74061@xor.obsecurity.org> References: <20060130195655.e2c9da19.lists@elehack.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dc+cDN39EJAMEtIO" Content-Disposition: inline In-Reply-To: <20060130195655.e2c9da19.lists@elehack.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: GCC not searching /usr/local/include X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 03:47:37 -0000 --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--