delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/22/19:22:04

From: steveg AT cirris DOT com (Steve Goodrich)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Make 3.73 and NT 3.51 problem
Date: Tue, 22 Oct 1996 15:17:05 GMT
Organization: XMission Internet (801 539 0900)
Lines: 71
Message-ID: <54ioeo$400@news.xmission.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 961020140008 DOT 29874H-100000 AT is>
NNTP-Posting-Host: 204.228.130.10
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:


>On Thu, 17 Oct 1996, Steve Goodrich wrote:

>> I am trying to set up an environment for creating DOS programs under
>> Windows NT using djgpp. When I try to run make against a make file,
>> nothing happens. I have even specified a bad target name just to try
>> to get an error reported back. I get no messages and nothing is
>> compiled. If I run it in a directory with no makefile, I am told ***
>> no targets.  Stop.

>Two questions:

>	1) What version of Make do you use?  What is the size of the .EXE 
>file and its time stamp?

I am using Make 3.23. Its date is 02/05/96. Time: 02:11a. Size:
150,016.

>	2) Does the above happen even if you invoke non-DJGPP programs 
>from the Makefile, or is this problem limited to calling DJGPP programs 
>only?

I started a reply to this yesterday but got sidetracked when I tried
to answer this question. After some more experimenting, it seems that
rules with no dependency or rules that rely on the STAMP veriable
never are built. i.e.

libs:	$(STAMP)
	cd src
	$(MAKE)
	cd ..

Will never trigger (This is from the GRX20 main makefile).

The following two rules from the bcc2grx contrib library won't compile
either.

bcc2grx_all:
	$(MAKE) -C src all

bcc2grx_clean:
	$(MAKE) -C src clean


NOTE: Using the same binaries, the same path, and the same djgpp.env,
everything works fine under DOS on the same machine.

A DIFFERENT QUESTION.
ar also seems to misbehaive under NT. Every time I try to run it, it
seems to be trying to treat the first non option command line
parameter, i.e. the name of the new archive, as a file to be added to
the archive. So if I say

ar rvs mylib.a f1.o f2.o f3.o 

I get the message:

d:/djgpp/bin/ar.exe: mylib.a: No such file or directory (ENOENT)

Anyway, thanks for your time. I hope to hear from you soon.

Steve Goodrich
steveg AT cirris DOT com

======================================================
If you don't live your life, someone else will.

http://www.aros.net/~steveg

- Raw text -


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