preprocessor/4917: enh req: Make gcc -print-search-dirs show include dirs

james_avera@yahoo.com james_avera@yahoo.com
Fri Nov 9 16:46:00 GMT 2001


>Number:         4917
>Category:       preprocessor
>Synopsis:       Make -print-search-dirs show include dirs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 20 20:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jim Avera
>Release:        3.0.2
>Organization:
>Environment:
System: Linux dummy-hostname 2.4.7-SMP #8 SMP Wed Oct 31 12:42:09 PST 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure --prefix=/usr/local/gcc --with-local-prefix=/usr/local/gcc
>Description:

This is an enhancement request to make the -print-search-dirs option
show the #include directory search list.

Currently, the output of gcc -print-search-dirs contains three lines:
    install: ...
    programs: ...
    libraries: ...

This proposal is to add a new line
    sysinclude: ... 
which would contain a :-separated list of directories searched by #include <...> 

This would be useful for curious humans as well as automated scripts
to generate a tags database.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list