delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/04/16:02:52

Message-ID: <36B9A540.E2CBD336@voicenet.com>
From: Lee Marzke <tallyho AT voicenet DOT com>
X-Mailer: Mozilla 4.04C-Caldera [en] (X11; I; Linux 2.0.33 i686)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using GNU BASH with DOS Compiler ( DOS extender problem )
References: <36B86B29 DOT 7E1EB4AA AT voicenet DOT com>
Lines: 63
Date: Thu, 04 Feb 1999 08:48:48 -0500
NNTP-Posting-Host: 207.103.74.76
X-Trace: news2.voicenet.com 918136127 207.103.74.76 (Thu, 04 Feb 1999 08:48:47 EDT)
NNTP-Posting-Date: Thu, 04 Feb 1999 08:48:47 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Update,

Thanks for the suggestions, everyone.

I am running the latest djgpp v2, and Win95B

The problem has been narrowed down to a Bash/compiler/WIn
interaction.   Looking through the 68hc11 cross compiler
(www.cosmic-software.com) executable I found the following

Blinker 4.10 DOS Extender ...

If the compiler runs from COMMAND.COM it works. If it runs
from BASH, either of two things happen.

1. When compiler exits, WIndows prints a warning that BASH needs
   to be run in DOS mode.  If I change the DOS box icon properties
   to PROGRAM, ADVANCED, Suggest DOS mode=NO, this warning popup
    stops.

2. With the above warning suppressed, The compiler only works
   on small files, and routinly generates false errors, and runs
   out of memory / stack space, or crashes.

Seems that the Blinker DOS extender is causing problems.



Lee Marzke wrote:
> 
> I need to compile an embedded program using a cross-compiler
> and can't seem to get make to work.
> 
> Two problems, first Line length is too long to enable
> processing a list of files with a for loop. ( with command.com )
> 
> To fix this,
> I installed BASH, and now this works OK, but I have a new
> strange problem.  Whenever bash calls the DOS compiler, after
> the compiler exits, Windows complains with a popup screen
> about "This program needs to be run in DOS mode"
> 
> This happes for each source file, so I get many of these
> dialogs.   Is there some reason that GNU make can't call
> DOS programs ?
> 
> TIA,
> 
> Lee
> 
> --
> 
> --------------------------------
> Lee Marzke         <lee AT n99 DOT com>
> 
> --------------------------------

-- 

--------------------------------
Lee Marzke         <lee AT n99 DOT com>

--------------------------------

- Raw text -


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