From owner-freebsd-hackers Thu May 24 2:55:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from liam.hesketh.net (liam.hesketh.net [199.72.146.10]) by hub.freebsd.org (Postfix) with ESMTP id DCA9B37B422 for ; Thu, 24 May 2001 02:55:35 -0700 (PDT) (envelope-from brent@mutt.rcfile.org) Received: from mutt.rcfile.org (rdu162-244-245.nc.rr.com [24.162.244.245]) by liam.hesketh.net (8.11.3/8.11.3) with ESMTP id f4O9s0l29408 for ; Thu, 24 May 2001 05:54:00 -0400 Received: (from brent@localhost) by mutt.rcfile.org (8.11.3/8.11.3) id f4O9tcK08608 for hackers@FreeBSD.ORG; Thu, 24 May 2001 05:55:38 -0400 (EDT) (envelope-from brent) Date: Thu, 24 May 2001 05:55:38 -0400 From: Brent Verner To: hackers@FreeBSD.ORG Subject: gcc (cpp) include search path problem Message-ID: <20010524055537.A8563@rcfile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm not sure if this has been the default for gcc/cpp on FBSD for a while but I noticed it since some ports failed to build due to includes (present in /usr/local/include) not being found. Has this changed, or is that port (wget) just broken. IMO, the search path for cpp should include /usr/local/include, especially since we install ports there. Brent colo:~/ brent$ cpp -v Using builtin specs. gcc version 2.95.3 [FreeBSD] 20010315 (release) /usr/libexec/cpp -lang-c -v -Di386 -D__FreeBSD__=4 -D__FreeBSD_cc_version=430000 -Dunix -D__i386__ -D__FreeBSD__=4 -D__FreeBSD_cc_version=430000 -D__unix__ -D__i386 -D__unix -Acpu(i386) -Amachine(i386) -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__ELF__ - GNU CPP version 2.95.3 [FreeBSD] 20010315 (release) (i386 FreeBSD/ELF) #include "..." search starts here: #include <...> search starts here: /usr/include /usr/include End of search list. The following default directories have been omitted from the search path: /usr/include/g++ End of omitted list. ^C colo:~/ brent$ uname -a FreeBSD colo.rcfile.org 4.3-STABLE FreeBSD 4.3-STABLE #15: Wed May 23 17:39:35 EDT 2001 root@colo.rcfile.org:/usr/local/usr.obj/usr/src/sys/COLO i386 -- - - - - - -=( d a m o n b r e n t v e r n e r )=- - - - - - - c e r t i f i e d n o s o u r c o p h o b i c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message