[Bug c/30439] Intended Behaviour? #include <signal.h> searches for signal.h in local directory
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 14 18:21:00 GMT 2007
------- Comment #8 from pinskia at gcc dot gnu dot org 2007-01-14 18:21 -------
"a:" means have a and the current directory.
So this is not a bug, C_INCLUDE_PATH acts just like PATH in that an empty
argument after the colon means the current directory.
>export C_INCLUDE_PATH=/home/cbs/local/include:$C_INCLUDE_PATH, so I do not see
> a way of properly doing it save for checking if C_INCLUDE_PATH is empty before
> adding to it.
There are a bunches of way of checking if C_INCLUDE_PATH is set, like
$(?C_INCLUDE_PATH) I think will tell you if it is set or not. This is not the
right forum to ask about shell programming really.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30439
More information about the Gcc-bugs
mailing list