Date: Wed, 1 Feb 2006 02:06:17 +0700 From: pongthep <pkrisada@ego.co.th> To: freebsd-stable@freebsd.org Subject: Re: GCC not searching /usr/local/include Message-ID: <20060131190617.GA641@ego.co.th>
next in thread | raw e-mail | index | archive | help
What is the main difference between them, in brief? I only use /usr/include and I've never used /usr/local/include. thanks, pongthep > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060131190617.GA641>