Mail Archives: djgpp/1996/12/23/08:33:47
I'm using bash for DOS as my standard shell (no COMMAND.COM
anymore! :-). However I have some problems with executing DJGPP
2.00 compiled programs.
First, normal DJGPP compilation (`gcc prog.c -o prog' or simply
`make prog') leaves two executable files: `prog' and `prog.exe'.
Then if I type `prog' the following will appear:
go32/v1: cannot find v1's go32.exe
(this is `go32-v2.exe' message). I have to type `prog.exe' to run
my program.
Second, the computer hangs sometimes. This usually happens when I
execute `go32-v2 prog ; go32-v2' two or more times.
Third problem shows when I try to execute DOS `.bat' file,
especially the one which add new variables to DOS environment
(`out of environment space' message). I tried to fix it with
`export COMSPEC="c:\command.com /e:2048"', but it doesn't work.
Any suggestions?
TIA,
--
Jerzy Witkowski <Jerzy DOT Witkowski AT ii DOT uni DOT wroc DOT pl> o o
University of Wroclaw, Institute of Computer Science /| | |/|
Przesmyckiego 20, PL-51151 Wroclaw |/| | |
room: 11, phone: 0048 71 3247360 /| |/^\| |
phone/fax office secretary: 0048 71 3251271 <__|
- Raw text -