delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/23/17:11:53

Newsgroups: comp.os.msdos.djgpp
From: Twan Jans-Beken <jabe AT oce DOT nl>
Subject: Problem with "make 3.77" on NT4
X-Nntp-Posting-Host: pc1-jabe
Message-ID: <3798558D.37300815@oce.nl>
Sender: news AT oce DOT nl (The Daily News @ nntp01.oce.nl)
Organization: Oce-Technologies B.V. - Research & Development
X-Accept-Language: en
Mime-Version: 1.0
Date: Fri, 23 Jul 1999 11:44:13 GMT
X-Mailer: Mozilla 4.6 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am trying to compile Vgui to use it on a NT4 machine. For some reason
it doesn't work. The tool "make" refuses to compile the CPP source-code.
The version of "make"that I use is 3.77. See the console output below.

--- Console output start ---
C:\mingw\v\appgen>make -v
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
--- Console output end ---


When starting the make-process I get the following output:

--- Console output start ---
C:\mingw\v\appgen>make
g++ -c -IC:\mingw\v\includew  -O2 -D_WIN32 -DDEVEL -DGNUWIN32 -o
C:\mingw\v\obj\gnuwin32/vgcmdw.o vgcmdw.cpp
make.exe: *** [C:\mingw\v\obj\gnuwin32/vgcmdw.o] Error -1
--- Console output end ---


Now, when I type-in the exact same line manually it DOES work. Again,
see the console-output below.

--- Console output start ---
C:\mingw\v\appgen>g++ -c -IC:\mingw\v\includew  -O2 -D_WIN32 -DDEVEL
-DGNUWIN32 -o C:\mingw\v\obj\gnuwin32/vgcmdw.o vgcmdw.cpp

C:\mingw\v\appgen>
--- Console output end ---

How is it possible that make doesn't work?

I already have a suspicion:
The behaviour seems to mee like make is spawning a new command
environment for every command to be executed. This new command
environment has no copy of my path and environment variables.

Are there any suggestions out there?

- Raw text -


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