www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/04/11:04:03

Date: Thu, 4 Feb 1999 13:19:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Lee Marzke <tallyho AT voicenet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Using GNU make with DOS compiler causes DOS MODE popup
In-Reply-To: <36B86B29.7E1EB4AA@voicenet.com>
Message-ID: <Pine.SUN.3.91.990204131909.7801G-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Wed, 3 Feb 1999, Lee Marzke wrote:

> Two problems, first Line length is too long to enable
> processing a list of files with a for loop. ( with command.com )

If your for loop is too long, it won't work even from the command
line, right?  So why did you expect Make to handle it correctly?

The usual work-around for these cases is to break the list of files
into two or more shorter lists, and have several for loops to process
them.

> 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"

Which program does it complain about?  We need to know this info to
advise you about the correct solutions.

> 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 ?

The DJGPP port of GNU Make has no problems calling DOS programs, I'm
guessing that this problem happens because of some special setup of
your system.  But please post the full details about the message
popped by Windows (you didn't even tell which version of Windows is
that).

- Raw text -


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