From mboxrd@z Thu Jan 1 00:00:00 1970 From: Per Bothner To: gcc-gnats@gcc.gnu.org Subject: preprocessor/3104: pre-processor does not search $includedir Date: Sat, 09 Jun 2001 18:16:00 -0000 Message-id: <200106092313.f59NDZs07667@eureka.bothner.com> X-SW-Source: 2001-06/msg00355.html List-Id: >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: