Mail Archives: djgpp/1999/02/09/08:11:35
David Allsopp (daa AT tqSPAMbase DOT demon DOT co DOT uk) wrote:
: Fine, compiled first time even :-). However, it only runs under an MS-
: DOS command.com window (W95).
:
: If I try to run the program from bash, nothing
: happens. I made the simple change of opening a file and writing a
: string out to that, in case there are stdout/stderr problems, but the
: program just seems to do nothing: no file is created. Again, if I run
: this from command.com, the file is created OK.
Try posting the source code, describing your DJGPP set-up, etc.
It's almost impossible to tell what is wrong with no information about the
program.
IIRC there may be problems with using bash as your shell rather
than command.com, i.e. if you set "SHELL=<blah>" in autoexec.bat. The
solution to this is to run bash from a command.com shell.
--
==============================================================================
Rich Dawe - 4th-year MSci Physicist @ Bristol University, UK
richdawe AT bigfoot DOT com, http://www.bigfoot.com/~richdawe/
==============================================================================
- Raw text -