From owner-freebsd-questions@FreeBSD.ORG Tue Apr 1 18:40:12 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB07D7C9 for ; Tue, 1 Apr 2014 18:40:12 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 8A0DBB7E for ; Tue, 1 Apr 2014 18:40:12 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 16DE933C22; Tue, 1 Apr 2014 14:40:07 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id ECFB439847; Tue, 1 Apr 2014 14:40:05 -0400 (EDT) From: Lowell Gilbert To: Mayuresh Kathe Subject: Re: including /usr/local/include : how? References: <20140401172133.GA14322@SDF.ORG> <20140401173425.GB12814@SDF.ORG> Date: Tue, 01 Apr 2014 14:40:05 -0400 In-Reply-To: <20140401173425.GB12814@SDF.ORG> (Mayuresh Kathe's message of "Tue, 1 Apr 2014 17:34:27 +0000") Message-ID: <44k3b86ghm.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2014 18:40:12 -0000 Mayuresh Kathe 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.