This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

preprocessor/3104: pre-processor does not search $includedir



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]