Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 05:55:38 -0400
From:      Brent Verner <brent@rcfile.org>
To:        hackers@FreeBSD.ORG
Subject:   gcc (cpp) include search path problem
Message-ID:  <20010524055537.A8563@rcfile.org>

next in thread | raw e-mail | index | archive | help
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




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