Bug 4917 - Make -print-search-dirs show include dirs
Summary: Make -print-search-dirs show include dirs
Status: SUSPENDED
Alias: None
Product: gcc
Classification: Unclassified
Component: preprocessor (show other bugs)
Version: 3.0.2
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-20 20:56 UTC by Jim Avera
Modified: 2006-02-08 00:55 UTC (History)
3 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed: 2005-10-02 20:52:08


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Avera 2001-11-20 20:56:00 UTC
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.

Release:
3.0.2

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
Comment 1 Neil Booth 2002-08-20 15:40:51 UTC
State-Changed-From-To: open->feedback
State-Changed-Why: This might be made possible by changes I plan in GCC 3.4, but no promises.
Comment 2 Zack Weinberg 2002-09-30 14:46:51 UTC
State-Changed-From-To: feedback->suspended
State-Changed-Why: From Neil's comment earlier, he meant to set suspended, not feedback.  This is waiting for infrastructure, not reporter comments.
Comment 3 Zack Weinberg 2003-06-02 04:50:31 UTC
odd, the 'suspended' annotation seems to have got lost during the conversion.
Comment 4 Dara Hazeghi 2004-01-19 22:00:50 UTC
Umm, Neil you left this ASSIGNED but to <nobody@gcc.gnu.org>?
Comment 5 Neil Booth 2004-01-19 22:28:52 UTC
Subject: Re:  Make -print-search-dirs show include dirs

dhazeghi at yahoo dot com wrote:-

> 
> ------- Additional Comments From dhazeghi at yahoo dot com  2004-01-19 22:00 -------
> Umm, Neil you left this ASSIGNED but to <nobody@gcc.gnu.org>?

There was no obvious way to "unassign" it, so that seemed best.

Neil.
Comment 6 Dara Hazeghi 2004-01-19 22:44:09 UTC
Okay, I see what you mean. Sorry for the noise. Just another bugzilla peculiarity...