Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Aug 2002 19:23:55 +0300
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        freebsd-questions@FreeBSD.ORG
Subject:   /usr/local/include
Message-ID:  <E17dCYN-000JAa-00@cse.cs.huji.ac.il>

next in thread | raw e-mail | index | archive | help

i've realized for some time nw, that /usr/local/include is not part of the 
default search as in 'cpp -v'
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
 /usr/libexec/cpp0 -lang-c -v -Di386 -D__FreeBSD__=4 
-D__FreeBSD_cc_version=460001 -Dunix -D__i386__ -D__FreeBSD__=4 
-D__FreeBSD_cc_version=460001 -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.4 20020320 [FreeBSD] (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.

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.

thanks,
	danny



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17dCYN-000JAa-00>