Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Apr 2014 14:40:05 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Mayuresh Kathe <mayuresh@kathe.in>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: including /usr/local/include : how?
Message-ID:  <44k3b86ghm.fsf@lowell-desk.lan>
In-Reply-To: <20140401173425.GB12814@SDF.ORG> (Mayuresh Kathe's message of "Tue, 1 Apr 2014 17:34:27 %2B0000")
References:  <20140401172133.GA14322@SDF.ORG> <20140401173425.GB12814@SDF.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
Mayuresh Kathe <mayuresh@kathe.in> writes:

> On Tue, Apr 01, 2014 at 05:21:35PM +0000, Mayuresh Kathe wrote:
>> hello,
>> 
>> did some more searching, and it looks like one
>> must set a C_INCLUDE_PATH variable for
>> non-standard include locations.
>> 
>> but, how do i include non-standard obj-c files?
>> they are all in /usr/local/include/objc.

> heck, i used almost every option mentioned
> in the clang manual page, nothing helps. :(

Try the '-I' option, listed under "preprocessor options".

This is the same convention as nearly every other C compiler.



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