This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: CPLUS_INCLUDE_PATH confused by colons
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: Christoph Bugel <chris at tti-telecom dot com>, gcc-bugs at gcc dot gnu dot org, Zack Weinberg <zack at codesourcery dot com>
- Date: Sun, 24 Mar 2002 17:49:26 +0000
- Subject: Re: CPLUS_INCLUDE_PATH confused by colons
- Organization: Codesourcery LLC
- References: <20020324162904.GA10814@pingu.tti> <20020324173514.GB29252@daikokuya.demon.co.uk>
Neil Booth wrote:
> These environment variables are a colon-separated list of
> paths. So you effectively have an empty-path here, which
> is being treated as the current directory. This is a
> deliberate feature; whether it's a good idea I'm not
This is a normal feature of the shell's PATH variable treatment.
(One which I did not know about until 5 seconds ago.) So I guess
existing practice makes it a '.'
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org