Mail Archives: djgpp/1997/10/26/09:54:49
On Fri, 24 Oct 1997, Hans Ecke wrote:
> I also noticed, that I can call any program from inside bash like this :
> c:>c:/command.com /c nc.exe
> But it should be a blame, that bash is not able to load&execute simple dos
> executables!
I suspect that the following variables are the culprit:
> PATH_EXPAND=Y
> PATH_SEPARATOR=;
> PATH_SLASH=\
> SYSROOT=
If you don't set SYSROOT and your PATH_SEPARATOR=;, then you don't
need to set PATH_EXPAND=Y. These four variables are for Unix shell
scripts, you don't need them at all if all you run is DOS and DJGPP
programs. So the first thing I would suggest to try is to unset these
all, and see if that helps. If it does, then don't set them until you
see some shell script that breaks.
Here's what I think is going on: PATH_EXPAND=Y causes Bash to convert
strings with forward slashes into DOS-style backslashified path
names. If this happens with strings which aren't file names, you
lose.
- Raw text -