delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/23/08:33:47

From: Jerzy DOT Witkowski AT ii DOT uni DOT wroc DOT pl (Jerzy Witkowski)
Newsgroups: comp.os.msdos.djgpp
Subject: Problem with DJGPP programs in bash
Date: 23 Dec 1996 10:44:51 +0100
Organization: University of Wroclaw
Lines: 31
Sender: jwi AT dadzbog DOT ii DOT uni DOT wroc DOT pl
Message-ID: <x6enghegrw.fsf@dadzbog.ii.uni.wroc.pl>
NNTP-Posting-Host: dadzbog.ii.uni.wroc.pl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019