This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
preprocessor/3104: pre-processor does not search $includedir
- To: gcc-gnats at gcc dot gnu dot org
- Subject: preprocessor/3104: pre-processor does not search $includedir
- From: Per Bothner <bothner at bothner dot com>
- Date: Sat, 9 Jun 2001 17:13:35 -0600
>Number: 3104
>Category: preprocessor
>Synopsis: pre-processor does not search $includedir
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 09 18:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Per Bothner
>Release: 3.0 20010608 (prerelease)
>Organization:
Brainfood Inc
>Environment:
System: Linux eureka.bothner.com 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/bothner/GNU/gcc3/configure --enable-threads --prefix=/home/bothner/GNU/install-gcc3 --enable-languages=C++,java : (reconfigured)
>Description:
The pre-processor by default does not search $includedir aka
$prefix/include. It does search /usr/include and /usr/local/include,
so this is only for problem if gcc is configured with a non-default
--prefix - which many of us do!
Thia probably violates the GNU coding standards, which say that packages
should install include files in $includedir. One package which does this
is libjava. Thus using gcj's CNI does not work (with default options)
if you use a non-standard --prefix.
>How-To-Repeat:
>Fix:
Fix either cppdefault.c or the Makefile.in.
>Release-Note:
>Audit-Trail:
>Unformatted: