Mail Archives: djgpp/1996/10/22/19:22:04
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 -