Subject: pkg/17638: lang/gcc does not search in /usr/include/g++
To: None <gnats-bugs@gnats.netbsd.org>
From: Ingolf Steinbach <ingolf-gcc@steinba.ch>
List: netbsd-bugs
Date: 07/18/2002 22:07:08
>Number: 17638
>Category: pkg
>Synopsis: lang/gcc does not search in /usr/include/g++
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 18 13:08:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Ingolf Steinbach
>Release: NetBSD 1.5.3_ALPHA
>Organization:
>Environment:
pkgsrc as of 2002-07-18
System: NetBSD helios 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (HELIOS) #0: Sat Jan 26 19:29:23 CET 2002 ingolf@helios:/usr/obj/sys/arch/i386/compile/HELIOS i386
Architecture: i386
Machine: i386
>Description:
The C++ compiler from lang/gcc, other than /usr/bin/c++, does
not search in /usr/include/g++ for include files by default.
>How-To-Repeat:
ls -l /usr/include/g++/FlexLexer.h
cat <<EOF > includetest.cpp
#include <FlexLexer.h>
EOF
/usr/pkg/gcc-2.95.3/bin/c++ -E includetest.cpp
/usr/bin/c++ -E includetest.cpp
and compare the output of the last two commands.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: