From owner-freebsd-questions Mon Aug 19 14: 4:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B53737B400 for ; Mon, 19 Aug 2002 14:04:31 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BDAA43E4A for ; Mon, 19 Aug 2002 14:04:30 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a134.otenet.gr [212.205.215.134]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g7JL3rkH015948; Tue, 20 Aug 2002 00:03:54 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.5/8.12.5) with ESMTP id g7JL3VqE002799; Tue, 20 Aug 2002 00:03:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.5/8.12.5/Submit) id g7JJvQ8C002352; Mon, 19 Aug 2002 22:57:26 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 19 Aug 2002 22:57:26 +0300 From: Giorgos Keramidas To: Danny Braniss Cc: freebsd-questions@FreeBSD.org Subject: Re: /usr/local/include Message-ID: <20020819195726.GI1645@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 5.0-CURRENT i386 X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-Phone: +30-944-116520 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-08-09 19:23 +0000, Danny Braniss wrote: > > i've realized for some time nw, that /usr/local/include is not part > of the default search as in 'cpp -v' True. Anything under /usr/local is not part of the 'base system'. You can even change the default installation path of the ports from /usr/local to /opt or /pkg. The ports should still work. Since the system compiler can not have any reliable way of determing if it's /usr/local or some other path that it should automagically search for includes, it doesn't attempt to provide a "hack for a solution". > was this always the case for FreeBSD? if so what's the logic? > im asking because solaris/bsdi/linux all have /usr/local/include in > the cpp path. You have to manually specify -I/usr/local/include and -L/usr/local/lib when you build programs. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message