Mail Archives: djgpp/2001/06/29/04:30:10
386sx <386sx AT my-deja DOT com> wrote:
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>
>> On 27 Jun 2001, 386sx wrote:
>>
>>> > I can't imagine people could do that in their CDPATH, since if they
>>> > do, "cd foo" cannot chdir into a subdirectory `foo' of the current
>>> > directory.
>>>
>>> True only if there is a "foo'' subdirectory within a directory in
>>> CDPATH. If "." isn't included in CDPATH cd acts as if "." were the
>>> last entry.
>>
>> Then why did "cd intl" fail in the GDB build procedure?
>>
>> It sounds like I didn't really understand the reason for this problem,
>> so please tell some more about this. Since this issue is not specific
>> to DJGPP, it will probably require some changes in the GDB configure
>> scripts, and I'd like to be able to explain this to the GDB
>> maintainers.
>
> I think the answer is not the interactive bash, but bash's POSIX
> non-interactive alter-ego (SHELL=/bin/sh)
I haven't tried to compile GDB in about a year but as I said I ran into
problems trying to compile other programs on Linux due to CDPATH not having
"." as the first entry, and indeed I found that when I explicitly do:
$ make SHELL=/bin/bash
the problem disappears.
--
386
clc FAQ:
http://www.eskimo.com/~scs/C-faq/top.html
- Raw text -