Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2001 23:40:03 -0500
From:      "Donald J . Maddox" <dmaddox@sc.rr.com>
To:        Bart <trzy@mailandnews.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: gcc Include and Lib directories
Message-ID:  <20010103234003.A1623@cae88-102-101.sc.rr.com>
In-Reply-To: <3.0.5.32.20010103203614.007a3cd0@mailandnews.com>; from trzy@mailandnews.com on Wed, Jan 03, 2001 at 08:36:14PM -0800
References:  <3.0.5.32.20010103203614.007a3cd0@mailandnews.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 03, 2001 at 08:36:14PM -0800, Bart wrote:
> Anyhow, my problem is this: gcc doesn't search /usr/local/include for
> header files, and apparently, it also does not use libraries in
> /usr/local/lib. How can I remedy this? I know it once worked, because I
> tinkered with GTK a while back which had its header files under
> /usr/local/include/gtk . I know about the -I option, but is there any
> environment variable/config file I can mess around with to make the changes
> permanent?

You can use C_INCLUDE_PATH (or CPLUS_INCLUDE_PATH for c++) to do
this.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010103234003.A1623>