Discussion:
Can't "make clean" with mingw32-make
(too old to reply)
Tony Crawford
2006-07-30 13:29:15 UTC
Permalink
Hi gang!

Anybody building NH with MinGW under Windows' cmd.exe?

My mingw32-make seems to be adding "-c" to the command line
when it calls cmd.exe to delete old object files. Here's the make
output with debug:

Must remake target `clean'.
if exist o\*.o del o\*.o
CreateProcess(c:\winnt\system32\cmd.exe,c:/winnt/system32/cmd -c "if exist
o\*.o del o\*.o",...)
Putting child 0x009df528 (clean) PID 10910184 on the chain.
Live child 0x009df528 (clean) PID 10910184
The filename, directory name, or volume label syntax is incorrect.
Error occurred while processing: if exist o\*.o del o\*.o.

Cmd.exe needs (if anything) a /C, not a -c.

Is this a problem with my MinGW setup?

I've installed MSYS in addition to MinGW: could that
have stuck me with a wrong mingw32-make version?

Grateful for any clues!

Tony
--
Religion [...] had its origin in the funk and cunning of
the humanoid ape.
--Mrs. D. G. Ritchie, 1918 (OED 2nd at "humanoid")
Tony Crawford
2006-07-30 21:40:34 UTC
Permalink
Post by Tony Crawford
Anybody building NH with MinGW under Windows' cmd.exe?
My mingw32-make seems to be adding "-c" to the command line
when it calls cmd.exe to delete old object files. Here's the make
...
Post by Tony Crawford
Grateful for any clues!
I withdraw the question: On closer inspection, I see the Install.nt
document talks about MinGW 2.0, and I've got a MinGW 3.1
version installed, so I guess I'm in unsupported territory.

(However, if anybody needs a makefile to compile NH with MinGW 3.1
under the Cygwin bash shell, feel free to holler ;-)

Tony
--
Religion [...] had its origin in the funk and cunning of
the humanoid ape.
--Mrs. D. G. Ritchie, 1918 (OED 2nd at "humanoid")
Loading...