From mboxrd@z Thu Jan 1 00:00:00 1970 From: ergeorge1@my-deja.com To: help-gcc@gnu.org Subject: Re: adding include directories? Date: Thu, 09 Dec 1999 13:23:00 -0000 Message-id: <82p5su$jn7$1@nnrp1.deja.com> References: <384914B3.7E50C92F@tpts5.seed.net.tw> X-SW-Source: 1999-12/msg00134.html In article < 384914B3.7E50C92F@tpts5.seed.net.tw >, Belldandy wrote: > > I'm running FreeBSD 3.2 and I built GCC 2.95.2 into /usr/gcc, > > apart from the usual /usr/local. It runs perfectly, but it's > > having problems when I compile packages that depend on headers > > and libraries in /usr/local/. How do I add directories to the > > search path? TIA..... > Use the -I option For example: gcc junk.c -c -I/usr/local Sent via Deja.com http://www.deja.com/ Before you buy. From mboxrd@z Thu Jan 1 00:00:00 1970 From: ergeorge1@my-deja.com To: help-gcc@gnu.org Subject: Re: adding include directories? Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <82p5su$jn7$1@nnrp1.deja.com> References: <384914B3.7E50C92F@tpts5.seed.net.tw> X-SW-Source: 1999-12n/msg00134.html Message-ID: <19991231222400.59f2PDdV_6oJmIN-7LNsiHyYqNNfDS7pO8rTc0mobFU@z> In article < 384914B3.7E50C92F@tpts5.seed.net.tw >, Belldandy wrote: > > I'm running FreeBSD 3.2 and I built GCC 2.95.2 into /usr/gcc, > > apart from the usual /usr/local. It runs perfectly, but it's > > having problems when I compile packages that depend on headers > > and libraries in /usr/local/. How do I add directories to the > > search path? TIA..... > Use the -I option For example: gcc junk.c -c -I/usr/local Sent via Deja.com http://www.deja.com/ Before you buy.