delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/13/12:51:22

From: bfehrenb AT execpc DOT com (Bob Fehrenbach)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Make Question + Apology
Date: Mon, 13 Nov 1995 11:26:42 -0600
Organization: Exec-PC BBS
Lines: 65

First of all, an apology.  A few days ago I posted a question to an
address I found in a doc file, not knowing it was a mail list.  When
I received email from a number of helpful souls I realized that I had
posted to a mail list - one to which I was not subscribed!  I have
since remedied that situation.  (Thanks DJ)  (BTW, Anton, I got your
message but my reply bounced.)

Ordinarily I would lurk on a list for a while before posting but since
there has evidently been some traffic on the question I posed, I will
have to take a chance and jump in.

Some of what follows has already been sent by email to the folks that
responded directly so it may be repetitious for them.

The problem is that I can't seem to get gnu MAKE to execute commands.
(I am running ms-dos 6.22.)

For example, I created a small text file: test.x and the following
three line makefile:
      **********
clean:
   type test.x
   del *.x
      **********
Yes, those are tabs ahead of the commands.  I also tried a make file
which substituted "list" for "type" to see if there were any differences
between internal and external commands.  (The results were the same.)

Recreating the screen after running MAKE:
     **********
c:\make>make
type test.x

c:\make>
     **********
The command is printed to the screen but not executed.

I have tried changing the first command to:

   command /c type test.x
         or
   command type test.x /c,

without success.

I have tried this on three different machines, including an IBM
Thinkpad laptop (8 meg RAM).  No luck.

I have tried make utilities from Microsoft, Borland and Poly something
and they all work as expected.

One interesting thing:  running make -n puts both commands on the
screen, indicating that MAKE knows what it is supposed to do.

MAKE -v reports version 3.7.4.  I received an email message suggesting
that 3.7.3 is the latest dos release.  What's the story here?
I grabbed a copy of 3.7.3 but it complains about the lack of DPMI.
It never ends.

Thanks for eveyone's patience.

Bob

--
Bob Fehrenbach    Wauwatosa, WI     bfehrenb AT execpc DOT com

- Raw text -


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