www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - compile dmd 2.052 under Windows XP (32bit) -- error !

reply David Wang <osx.david live.com> writes:
Sorry, I think I should post my question here except "digitalmars.D.bugs".

I've installed dmc and dmd2 by the "dinstaller.exe" from
http://ftp.digitalmars.com/dinstaller.exe

After finished, I downloaded the latest dmd, druntime and phobos from github.com

When I try to compile the dmd source through the command:
"make -f win32.mak release", I got many errors, please view as follows:
----------------------
.....
....
freebsd.mak:532: warning: ignoring old commands for target `gcov'
solaris.mak:602: warning: overriding commands for target `zip'
freebsd.mak:602: warning: ignoring old commands for target `zip'
win32.mak:40: warning: overriding commands for target `.c.obj'
win32.mak:40: warning: ignoring old commands for target `.c.obj'
win32.mak:43: warning: overriding commands for target `.asm.obj'
win32.mak:43: warning: ignoring old commands for target `.asm.obj'
win32.mak:50: warning: overriding commands for target `release'
win32.mak:50: warning: ignoring old commands for target `release'
win32.mak:57: warning: overriding commands for target `trace'
win32.mak:57: warning: ignoring old commands for target `trace'
win32.mak:60: warning: overriding commands for target `dmd'
solaris.mak:97: warning: ignoring old commands for target `dmd'
win32.mak:66: warning: overriding commands for target `debdmd'
win32.mak:66: warning: ignoring old commands for target `debdmd'
win32.mak:162: warning: overriding commands for target `dmd.exe'
win32.mak:162: warning: ignoring old commands for target `dmd.exe'
win32.mak:175: warning: overriding commands for target `msgs.h'
win32.mak:175: warning: ignoring old commands for target `msgs.h'
win32.mak:175: warning: overriding commands for target `msgs.c'
win32.mak:175: warning: ignoring old commands for target `msgs.c'
win32.mak:175: warning: overriding commands for target `sj1041.msg'
win32.mak:175: warning: ignoring old commands for target `sj1041.msg'
win32.mak:175: warning: overriding commands for target `sj1036.msg'
win32.mak:175: warning: ignoring old commands for target `sj1036.msg'
win32.mak:175: warning: overriding commands for target `sj1031.msg'
win32.mak:175: warning: ignoring old commands for target `sj1031.msg'
win32.mak:178: warning: overriding commands for target `msgsx.exe'
win32.mak:178: warning: ignoring old commands for target `msgsx.exe'
win32.mak:182: warning: overriding commands for target `elxxx.c'
win32.mak:182: warning: ignoring old commands for target `elxxx.c'
win32.mak:182: warning: overriding commands for target `cdxxx.c'
win32.mak:182: warning: ignoring old commands for target `cdxxx.c'
win32.mak:182: warning: overriding commands for target `optab.c'
win32.mak:182: warning: ignoring old commands for target `optab.c'
win32.mak:182: warning: overriding commands for target `debtab.c'
win32.mak:182: warning: ignoring old commands for target `debtab.c'
win32.mak:182: warning: overriding commands for target `fltables.c'
win32.mak:182: warning: ignoring old commands for target `fltables.c'
win32.mak:182: warning: overriding commands for target `tytab.c'
win32.mak:182: warning: ignoring old commands for target `tytab.c'
win32.mak:186: warning: overriding commands for target `impcnvtab.c'
win32.mak:186: warning: ignoring old commands for target `impcnvtab.c'
win32.mak:190: warning: overriding commands for target `id.h'
win32.mak:190: warning: ignoring old commands for target `id.h'
win32.mak:190: warning: overriding commands for target `id.c'
win32.mak:190: warning: ignoring old commands for target `id.c'
win32.mak:199: warning: overriding commands for target `total.sym'
win32.mak:199: warning: ignoring old commands for target `total.sym'
win32.mak:202: warning: overriding commands for target `impcnvtab.obj'
win32.mak:202: warning: ignoring old commands for target `impcnvtab.obj'
win32.mak:205: warning: overriding commands for target `iasm.obj'
win32.mak:205: warning: ignoring old commands for target `iasm.obj'
win32.mak:208: warning: overriding commands for target `bcomplex.obj'
win32.mak:208: warning: ignoring old commands for target `bcomplex.obj'
win32.mak:211: warning: overriding commands for target `aa.obj'
win32.mak:211: warning: ignoring old commands for target `aa.obj'
win32.mak:214: warning: overriding commands for target `bit.obj'
win32.mak:214: warning: ignoring old commands for target `bit.obj'
win32.mak:217: warning: overriding commands for target `blockopt.obj'
win32.mak:217: warning: ignoring old commands for target `blockopt.obj'
win32.mak:220: warning: overriding commands for target `cg.obj'
win32.mak:220: warning: ignoring old commands for target `cg.obj'
win32.mak:223: warning: overriding commands for target `cg87.obj'
win32.mak:223: warning: ignoring old commands for target `cg87.obj'
win32.mak:226: warning: overriding commands for target `cgcod.obj'
win32.mak:226: warning: ignoring old commands for target `cgcod.obj'
win32.mak:229: warning: overriding commands for target `cgcs.obj'
win32.mak:229: warning: ignoring old commands for target `cgcs.obj'
win32.mak:232: warning: overriding commands for target `cgcv.obj'
win32.mak:232: warning: ignoring old commands for target `cgcv.obj'
win32.mak:235: warning: overriding commands for target `cgelem.obj'
win32.mak:235: warning: ignoring old commands for target `cgelem.obj'
win32.mak:238: warning: overriding commands for target `cgen.obj'
win32.mak:238: warning: ignoring old commands for target `cgen.obj'
win32.mak:241: warning: overriding commands for target `cgobj.obj'
win32.mak:241: warning: ignoring old commands for target `cgobj.obj'
win32.mak:244: warning: overriding commands for target `cgreg.obj'
win32.mak:244: warning: ignoring old commands for target `cgreg.obj'
win32.mak:247: warning: overriding commands for target `cgsched.obj'
win32.mak:247: warning: ignoring old commands for target `cgsched.obj'
win32.mak:250: warning: overriding commands for target `cod1.obj'
win32.mak:250: warning: ignoring old commands for target `cod1.obj'
win32.mak:253: warning: overriding commands for target `cod2.obj'
win32.mak:253: warning: ignoring old commands for target `cod2.obj'
win32.mak:256: warning: overriding commands for target `cod3.obj'
win32.mak:256: warning: ignoring old commands for target `cod3.obj'
win32.mak:259: warning: overriding commands for target `cod4.obj'
win32.mak:259: warning: ignoring old commands for target `cod4.obj'
win32.mak:262: warning: overriding commands for target `cod5.obj'
win32.mak:262: warning: ignoring old commands for target `cod5.obj'
win32.mak:265: warning: overriding commands for target `code.obj'
win32.mak:265: warning: ignoring old commands for target `code.obj'
win32.mak:268: warning: overriding commands for target `irstate.obj'
win32.mak:268: warning: ignoring old commands for target `irstate.obj'
win32.mak:271: warning: overriding commands for target `csymbol.obj'
win32.mak:271: warning: ignoring old commands for target `csymbol.obj'
win32.mak:274: warning: overriding commands for target `debug.obj'
win32.mak:274: warning: ignoring old commands for target `debug.obj'
win32.mak:277: warning: overriding commands for target `dt.obj'
win32.mak:277: warning: ignoring old commands for target `dt.obj'
win32.mak:280: warning: overriding commands for target `ee.obj'
win32.mak:280: warning: ignoring old commands for target `ee.obj'
win32.mak:283: warning: overriding commands for target `eh.obj'
win32.mak:283: warning: ignoring old commands for target `eh.obj'
win32.mak:286: warning: overriding commands for target `el.obj'
win32.mak:286: warning: ignoring old commands for target `el.obj'
win32.mak:289: warning: overriding commands for target `evalu8.obj'
win32.mak:289: warning: ignoring old commands for target `evalu8.obj'
win32.mak:292: warning: overriding commands for target `go.obj'
win32.mak:292: warning: ignoring old commands for target `go.obj'
win32.mak:295: warning: overriding commands for target `gflow.obj'
win32.mak:295: warning: ignoring old commands for target `gflow.obj'
win32.mak:298: warning: overriding commands for target `gdag.obj'
win32.mak:298: warning: ignoring old commands for target `gdag.obj'
win32.mak:301: warning: overriding commands for target `gother.obj'
win32.mak:301: warning: ignoring old commands for target `gother.obj'
win32.mak:304: warning: overriding commands for target `glocal.obj'
win32.mak:304: warning: ignoring old commands for target `glocal.obj'
win32.mak:307: warning: overriding commands for target `gloop.obj'
win32.mak:307: warning: ignoring old commands for target `gloop.obj'
win32.mak:310: warning: overriding commands for target `glue.obj'
win32.mak:310: warning: ignoring old commands for target `glue.obj'
win32.mak:313: warning: overriding commands for target `html.obj'
win32.mak:313: warning: ignoring old commands for target `html.obj'
win32.mak:316: warning: overriding commands for target `imphint.obj'
win32.mak:316: warning: ignoring old commands for target `imphint.obj'
win32.mak:319: warning: overriding commands for target `mars.obj'
win32.mak:319: warning: ignoring old commands for target `mars.obj'
win32.mak:322: warning: overriding commands for target `md5.obj'
win32.mak:322: warning: ignoring old commands for target `md5.obj'
win32.mak:325: warning: overriding commands for target `module.obj'
win32.mak:325: warning: ignoring old commands for target `module.obj'
win32.mak:328: warning: overriding commands for target `msc.obj'
win32.mak:328: warning: ignoring old commands for target `msc.obj'
win32.mak:331: warning: overriding commands for target `newman.obj'
win32.mak:331: warning: ignoring old commands for target `newman.obj'
win32.mak:334: warning: overriding commands for target `nteh.obj'
win32.mak:334: warning: ignoring old commands for target `nteh.obj'
win32.mak:337: warning: overriding commands for target `os.obj'
win32.mak:337: warning: ignoring old commands for target `os.obj'
win32.mak:340: warning: overriding commands for target `out.obj'
win32.mak:340: warning: ignoring old commands for target `out.obj'
win32.mak:343: warning: overriding commands for target `outbuf.obj'
win32.mak:343: warning: ignoring old commands for target `outbuf.obj'
win32.mak:346: warning: overriding commands for target `ph.obj'
win32.mak:346: warning: ignoring old commands for target `ph.obj'
win32.mak:349: warning: overriding commands for target `ptrntab.obj'
win32.mak:349: warning: ignoring old commands for target `ptrntab.obj'
win32.mak:352: warning: overriding commands for target `rtlsym.obj'
win32.mak:352: warning: ignoring old commands for target `rtlsym.obj'
win32.mak:355: warning: overriding commands for target `ti_achar.obj'
win32.mak:355: warning: ignoring old commands for target `ti_achar.obj'
win32.mak:358: warning: overriding commands for target `toctype.obj'
win32.mak:358: warning: ignoring old commands for target `toctype.obj'
win32.mak:361: warning: overriding commands for target `tocvdebug.obj'
win32.mak:361: warning: ignoring old commands for target `tocvdebug.obj'
win32.mak:364: warning: overriding commands for target `toobj.obj'
win32.mak:364: warning: ignoring old commands for target `toobj.obj'
win32.mak:367: warning: overriding commands for target `type.obj'
win32.mak:367: warning: ignoring old commands for target `type.obj'
win32.mak:370: warning: overriding commands for target `typinf.obj'
win32.mak:370: warning: ignoring old commands for target `typinf.obj'
win32.mak:373: warning: overriding commands for target `todt.obj'
win32.mak:373: warning: ignoring old commands for target `todt.obj'
win32.mak:376: warning: overriding commands for target `s2ir.obj'
win32.mak:376: warning: ignoring old commands for target `s2ir.obj'
win32.mak:379: warning: overriding commands for target `e2ir.obj'
win32.mak:379: warning: ignoring old commands for target `e2ir.obj'
win32.mak:382: warning: overriding commands for target `toir.obj'
win32.mak:382: warning: ignoring old commands for target `toir.obj'
win32.mak:385: warning: overriding commands for target `tocsym.obj'
win32.mak:385: warning: ignoring old commands for target `tocsym.obj'
win32.mak:388: warning: overriding commands for target `unittests.obj'
win32.mak:388: warning: ignoring old commands for target `unittests.obj'
win32.mak:391: warning: overriding commands for target `util.obj'
win32.mak:391: warning: ignoring old commands for target `util.obj'
win32.mak:394: warning: overriding commands for target `var.obj'
win32.mak:394: warning: ignoring old commands for target `var.obj'
win32.mak:398: warning: overriding commands for target `tk.obj'
win32.mak:398: warning: ignoring old commands for target `tk.obj'
win32.mak:403: warning: overriding commands for target `aav.obj'
win32.mak:403: warning: ignoring old commands for target `aav.obj'
win32.mak:406: warning: overriding commands for target `array.obj'
win32.mak:406: warning: ignoring old commands for target `array.obj'
win32.mak:409: warning: overriding commands for target `async.obj'
win32.mak:409: warning: ignoring old commands for target `async.obj'
win32.mak:412: warning: overriding commands for target `dchar.obj'
win32.mak:412: warning: ignoring old commands for target `dchar.obj'
win32.mak:415: warning: overriding commands for target `gnuc.obj'
win32.mak:415: warning: ignoring old commands for target `gnuc.obj'
win32.mak:418: warning: overriding commands for target `lstring.obj'
win32.mak:418: warning: ignoring old commands for target `lstring.obj'
win32.mak:421: warning: overriding commands for target `man.obj'
win32.mak:421: warning: ignoring old commands for target `man.obj'
win32.mak:424: warning: overriding commands for target `rmem.obj'
win32.mak:424: warning: ignoring old commands for target `rmem.obj'
win32.mak:427: warning: overriding commands for target `port.obj'
win32.mak:427: warning: ignoring old commands for target `port.obj'
win32.mak:430: warning: overriding commands for target `root.obj'
win32.mak:430: warning: ignoring old commands for target `root.obj'
win32.mak:433: warning: overriding commands for target `response.obj'
win32.mak:433: warning: ignoring old commands for target `response.obj'
win32.mak:436: warning: overriding commands for target `speller.obj'
win32.mak:436: warning: ignoring old commands for target `speller.obj'
win32.mak:439: warning: overriding commands for target `stringtable.obj'
win32.mak:439: warning: ignoring old commands for target `stringtable.obj'
win32.mak:494: warning: overriding commands for target `clean'
solaris.mak:100: warning: ignoring old commands for target `clean'
win32.mak:501: warning: overriding commands for target `zip'
solaris.mak:602: warning: ignoring old commands for target `zip'
win32.mak:511: warning: overriding commands for target `detab'
win32.mak:511: warning: ignoring old commands for target `detab'
win32.mak:514: warning: overriding commands for target `tolf'
win32.mak:514: warning: ignoring old commands for target `tolf'
win32.mak:521: warning: overriding commands for target `install2'
win32.mak:521: warning: ignoring old commands for target `install2'
win32.mak:538: warning: overriding commands for target `svn2'
win32.mak:538: warning: ignoring old commands for target `svn2'
del *.obj
/bin/sh: del: command not found
make[1]: *** [clean] Error 127
make[1]: Leaving directory `/d/src/dmd'
make: *** [release] Error 2
----------------------

What has happend? Does the win32.mak in DMD2.052 on github.com has been
updated to the proper version so that it can be compiled ?

I tryed to compile the dmd source which has been downloaded from
digitalmar.com, but I got the errors also.

BTW, in my system, I also installed "MinGW" with "msys",so that I can use gcc
and g++.
------------------
[gcc -version]:
D:\>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=d:/program/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrappe
r.exe
Target: mingw32
Configured with: ../gcc-4.5.2/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.2 (GCC)
------------------

------------------
D:\>g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=d:/program/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrappe
r.exe
Target: mingw32
Configured with: ../gcc-4.5.2/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.2 (GCC)
------------------

------------------
D:\>dmc
Digital Mars Compiler Version 8.42n
Copyright (C) Digital Mars 2000-2004.  All Rights Reserved.
Written by Walter Bright  www.digitalmars.com/ctg/sc.html
DMC is a one-step program to compile and link C++, C and ASM files.
Usage ([] means optional, ... means zero or more):

        DMC file... [flags...] [ respfile]

file...         .CPP, .C or .ASM source, .OBJ object or .LIB library file name
 respfile...    pick up arguments from response file or environment variable
flags...        one of the following:

                **** Press a key for more ****
------------------
Why my doc version is ver 8.42n ?
It should be 8.52c when I download it from
http://ftp.digitalmars.com/Digital_Mars_C++/Patch/dm852c.zip, right ?

Could anyone be kindly to help me about the dmd compile error and dmc version
confused issue?


David.
2011.02.20  GTM+8 20:10
Feb 20 2011
next sibling parent Brad Roberts <braddr puremagic.com> writes:
win32.mak is only intended for use with the digitalmars version of make, not
gnu make.  It's shipped with both dmd and dmc.

On 2/20/2011 4:29 AM, David Wang wrote:
 Sorry, I think I should post my question here except "digitalmars.D.bugs".
 
 I've installed dmc and dmd2 by the "dinstaller.exe" from
 http://ftp.digitalmars.com/dinstaller.exe
 
 After finished, I downloaded the latest dmd, druntime and phobos from
github.com
 
 When I try to compile the dmd source through the command:
 "make -f win32.mak release", I got many errors, please view as follows:
 ----------------------
 .....
 ....
 freebsd.mak:532: warning: ignoring old commands for target `gcov'
 solaris.mak:602: warning: overriding commands for target `zip'
 freebsd.mak:602: warning: ignoring old commands for target `zip'
 win32.mak:40: warning: overriding commands for target `.c.obj'
 win32.mak:40: warning: ignoring old commands for target `.c.obj'
 win32.mak:43: warning: overriding commands for target `.asm.obj'
 win32.mak:43: warning: ignoring old commands for target `.asm.obj'
 win32.mak:50: warning: overriding commands for target `release'
 win32.mak:50: warning: ignoring old commands for target `release'
 win32.mak:57: warning: overriding commands for target `trace'
 win32.mak:57: warning: ignoring old commands for target `trace'
 win32.mak:60: warning: overriding commands for target `dmd'
 solaris.mak:97: warning: ignoring old commands for target `dmd'
 win32.mak:66: warning: overriding commands for target `debdmd'
 win32.mak:66: warning: ignoring old commands for target `debdmd'
 win32.mak:162: warning: overriding commands for target `dmd.exe'
 win32.mak:162: warning: ignoring old commands for target `dmd.exe'
 win32.mak:175: warning: overriding commands for target `msgs.h'
 win32.mak:175: warning: ignoring old commands for target `msgs.h'
 win32.mak:175: warning: overriding commands for target `msgs.c'
 win32.mak:175: warning: ignoring old commands for target `msgs.c'
 win32.mak:175: warning: overriding commands for target `sj1041.msg'
 win32.mak:175: warning: ignoring old commands for target `sj1041.msg'
 win32.mak:175: warning: overriding commands for target `sj1036.msg'
 win32.mak:175: warning: ignoring old commands for target `sj1036.msg'
 win32.mak:175: warning: overriding commands for target `sj1031.msg'
 win32.mak:175: warning: ignoring old commands for target `sj1031.msg'
 win32.mak:178: warning: overriding commands for target `msgsx.exe'
 win32.mak:178: warning: ignoring old commands for target `msgsx.exe'
 win32.mak:182: warning: overriding commands for target `elxxx.c'
 win32.mak:182: warning: ignoring old commands for target `elxxx.c'
 win32.mak:182: warning: overriding commands for target `cdxxx.c'
 win32.mak:182: warning: ignoring old commands for target `cdxxx.c'
 win32.mak:182: warning: overriding commands for target `optab.c'
 win32.mak:182: warning: ignoring old commands for target `optab.c'
 win32.mak:182: warning: overriding commands for target `debtab.c'
 win32.mak:182: warning: ignoring old commands for target `debtab.c'
 win32.mak:182: warning: overriding commands for target `fltables.c'
 win32.mak:182: warning: ignoring old commands for target `fltables.c'
 win32.mak:182: warning: overriding commands for target `tytab.c'
 win32.mak:182: warning: ignoring old commands for target `tytab.c'
 win32.mak:186: warning: overriding commands for target `impcnvtab.c'
 win32.mak:186: warning: ignoring old commands for target `impcnvtab.c'
 win32.mak:190: warning: overriding commands for target `id.h'
 win32.mak:190: warning: ignoring old commands for target `id.h'
 win32.mak:190: warning: overriding commands for target `id.c'
 win32.mak:190: warning: ignoring old commands for target `id.c'
 win32.mak:199: warning: overriding commands for target `total.sym'
 win32.mak:199: warning: ignoring old commands for target `total.sym'
 win32.mak:202: warning: overriding commands for target `impcnvtab.obj'
 win32.mak:202: warning: ignoring old commands for target `impcnvtab.obj'
 win32.mak:205: warning: overriding commands for target `iasm.obj'
 win32.mak:205: warning: ignoring old commands for target `iasm.obj'
 win32.mak:208: warning: overriding commands for target `bcomplex.obj'
 win32.mak:208: warning: ignoring old commands for target `bcomplex.obj'
 win32.mak:211: warning: overriding commands for target `aa.obj'
 win32.mak:211: warning: ignoring old commands for target `aa.obj'
 win32.mak:214: warning: overriding commands for target `bit.obj'
 win32.mak:214: warning: ignoring old commands for target `bit.obj'
 win32.mak:217: warning: overriding commands for target `blockopt.obj'
 win32.mak:217: warning: ignoring old commands for target `blockopt.obj'
 win32.mak:220: warning: overriding commands for target `cg.obj'
 win32.mak:220: warning: ignoring old commands for target `cg.obj'
 win32.mak:223: warning: overriding commands for target `cg87.obj'
 win32.mak:223: warning: ignoring old commands for target `cg87.obj'
 win32.mak:226: warning: overriding commands for target `cgcod.obj'
 win32.mak:226: warning: ignoring old commands for target `cgcod.obj'
 win32.mak:229: warning: overriding commands for target `cgcs.obj'
 win32.mak:229: warning: ignoring old commands for target `cgcs.obj'
 win32.mak:232: warning: overriding commands for target `cgcv.obj'
 win32.mak:232: warning: ignoring old commands for target `cgcv.obj'
 win32.mak:235: warning: overriding commands for target `cgelem.obj'
 win32.mak:235: warning: ignoring old commands for target `cgelem.obj'
 win32.mak:238: warning: overriding commands for target `cgen.obj'
 win32.mak:238: warning: ignoring old commands for target `cgen.obj'
 win32.mak:241: warning: overriding commands for target `cgobj.obj'
 win32.mak:241: warning: ignoring old commands for target `cgobj.obj'
 win32.mak:244: warning: overriding commands for target `cgreg.obj'
 win32.mak:244: warning: ignoring old commands for target `cgreg.obj'
 win32.mak:247: warning: overriding commands for target `cgsched.obj'
 win32.mak:247: warning: ignoring old commands for target `cgsched.obj'
 win32.mak:250: warning: overriding commands for target `cod1.obj'
 win32.mak:250: warning: ignoring old commands for target `cod1.obj'
 win32.mak:253: warning: overriding commands for target `cod2.obj'
 win32.mak:253: warning: ignoring old commands for target `cod2.obj'
 win32.mak:256: warning: overriding commands for target `cod3.obj'
 win32.mak:256: warning: ignoring old commands for target `cod3.obj'
 win32.mak:259: warning: overriding commands for target `cod4.obj'
 win32.mak:259: warning: ignoring old commands for target `cod4.obj'
 win32.mak:262: warning: overriding commands for target `cod5.obj'
 win32.mak:262: warning: ignoring old commands for target `cod5.obj'
 win32.mak:265: warning: overriding commands for target `code.obj'
 win32.mak:265: warning: ignoring old commands for target `code.obj'
 win32.mak:268: warning: overriding commands for target `irstate.obj'
 win32.mak:268: warning: ignoring old commands for target `irstate.obj'
 win32.mak:271: warning: overriding commands for target `csymbol.obj'
 win32.mak:271: warning: ignoring old commands for target `csymbol.obj'
 win32.mak:274: warning: overriding commands for target `debug.obj'
 win32.mak:274: warning: ignoring old commands for target `debug.obj'
 win32.mak:277: warning: overriding commands for target `dt.obj'
 win32.mak:277: warning: ignoring old commands for target `dt.obj'
 win32.mak:280: warning: overriding commands for target `ee.obj'
 win32.mak:280: warning: ignoring old commands for target `ee.obj'
 win32.mak:283: warning: overriding commands for target `eh.obj'
 win32.mak:283: warning: ignoring old commands for target `eh.obj'
 win32.mak:286: warning: overriding commands for target `el.obj'
 win32.mak:286: warning: ignoring old commands for target `el.obj'
 win32.mak:289: warning: overriding commands for target `evalu8.obj'
 win32.mak:289: warning: ignoring old commands for target `evalu8.obj'
 win32.mak:292: warning: overriding commands for target `go.obj'
 win32.mak:292: warning: ignoring old commands for target `go.obj'
 win32.mak:295: warning: overriding commands for target `gflow.obj'
 win32.mak:295: warning: ignoring old commands for target `gflow.obj'
 win32.mak:298: warning: overriding commands for target `gdag.obj'
 win32.mak:298: warning: ignoring old commands for target `gdag.obj'
 win32.mak:301: warning: overriding commands for target `gother.obj'
 win32.mak:301: warning: ignoring old commands for target `gother.obj'
 win32.mak:304: warning: overriding commands for target `glocal.obj'
 win32.mak:304: warning: ignoring old commands for target `glocal.obj'
 win32.mak:307: warning: overriding commands for target `gloop.obj'
 win32.mak:307: warning: ignoring old commands for target `gloop.obj'
 win32.mak:310: warning: overriding commands for target `glue.obj'
 win32.mak:310: warning: ignoring old commands for target `glue.obj'
 win32.mak:313: warning: overriding commands for target `html.obj'
 win32.mak:313: warning: ignoring old commands for target `html.obj'
 win32.mak:316: warning: overriding commands for target `imphint.obj'
 win32.mak:316: warning: ignoring old commands for target `imphint.obj'
 win32.mak:319: warning: overriding commands for target `mars.obj'
 win32.mak:319: warning: ignoring old commands for target `mars.obj'
 win32.mak:322: warning: overriding commands for target `md5.obj'
 win32.mak:322: warning: ignoring old commands for target `md5.obj'
 win32.mak:325: warning: overriding commands for target `module.obj'
 win32.mak:325: warning: ignoring old commands for target `module.obj'
 win32.mak:328: warning: overriding commands for target `msc.obj'
 win32.mak:328: warning: ignoring old commands for target `msc.obj'
 win32.mak:331: warning: overriding commands for target `newman.obj'
 win32.mak:331: warning: ignoring old commands for target `newman.obj'
 win32.mak:334: warning: overriding commands for target `nteh.obj'
 win32.mak:334: warning: ignoring old commands for target `nteh.obj'
 win32.mak:337: warning: overriding commands for target `os.obj'
 win32.mak:337: warning: ignoring old commands for target `os.obj'
 win32.mak:340: warning: overriding commands for target `out.obj'
 win32.mak:340: warning: ignoring old commands for target `out.obj'
 win32.mak:343: warning: overriding commands for target `outbuf.obj'
 win32.mak:343: warning: ignoring old commands for target `outbuf.obj'
 win32.mak:346: warning: overriding commands for target `ph.obj'
 win32.mak:346: warning: ignoring old commands for target `ph.obj'
 win32.mak:349: warning: overriding commands for target `ptrntab.obj'
 win32.mak:349: warning: ignoring old commands for target `ptrntab.obj'
 win32.mak:352: warning: overriding commands for target `rtlsym.obj'
 win32.mak:352: warning: ignoring old commands for target `rtlsym.obj'
 win32.mak:355: warning: overriding commands for target `ti_achar.obj'
 win32.mak:355: warning: ignoring old commands for target `ti_achar.obj'
 win32.mak:358: warning: overriding commands for target `toctype.obj'
 win32.mak:358: warning: ignoring old commands for target `toctype.obj'
 win32.mak:361: warning: overriding commands for target `tocvdebug.obj'
 win32.mak:361: warning: ignoring old commands for target `tocvdebug.obj'
 win32.mak:364: warning: overriding commands for target `toobj.obj'
 win32.mak:364: warning: ignoring old commands for target `toobj.obj'
 win32.mak:367: warning: overriding commands for target `type.obj'
 win32.mak:367: warning: ignoring old commands for target `type.obj'
 win32.mak:370: warning: overriding commands for target `typinf.obj'
 win32.mak:370: warning: ignoring old commands for target `typinf.obj'
 win32.mak:373: warning: overriding commands for target `todt.obj'
 win32.mak:373: warning: ignoring old commands for target `todt.obj'
 win32.mak:376: warning: overriding commands for target `s2ir.obj'
 win32.mak:376: warning: ignoring old commands for target `s2ir.obj'
 win32.mak:379: warning: overriding commands for target `e2ir.obj'
 win32.mak:379: warning: ignoring old commands for target `e2ir.obj'
 win32.mak:382: warning: overriding commands for target `toir.obj'
 win32.mak:382: warning: ignoring old commands for target `toir.obj'
 win32.mak:385: warning: overriding commands for target `tocsym.obj'
 win32.mak:385: warning: ignoring old commands for target `tocsym.obj'
 win32.mak:388: warning: overriding commands for target `unittests.obj'
 win32.mak:388: warning: ignoring old commands for target `unittests.obj'
 win32.mak:391: warning: overriding commands for target `util.obj'
 win32.mak:391: warning: ignoring old commands for target `util.obj'
 win32.mak:394: warning: overriding commands for target `var.obj'
 win32.mak:394: warning: ignoring old commands for target `var.obj'
 win32.mak:398: warning: overriding commands for target `tk.obj'
 win32.mak:398: warning: ignoring old commands for target `tk.obj'
 win32.mak:403: warning: overriding commands for target `aav.obj'
 win32.mak:403: warning: ignoring old commands for target `aav.obj'
 win32.mak:406: warning: overriding commands for target `array.obj'
 win32.mak:406: warning: ignoring old commands for target `array.obj'
 win32.mak:409: warning: overriding commands for target `async.obj'
 win32.mak:409: warning: ignoring old commands for target `async.obj'
 win32.mak:412: warning: overriding commands for target `dchar.obj'
 win32.mak:412: warning: ignoring old commands for target `dchar.obj'
 win32.mak:415: warning: overriding commands for target `gnuc.obj'
 win32.mak:415: warning: ignoring old commands for target `gnuc.obj'
 win32.mak:418: warning: overriding commands for target `lstring.obj'
 win32.mak:418: warning: ignoring old commands for target `lstring.obj'
 win32.mak:421: warning: overriding commands for target `man.obj'
 win32.mak:421: warning: ignoring old commands for target `man.obj'
 win32.mak:424: warning: overriding commands for target `rmem.obj'
 win32.mak:424: warning: ignoring old commands for target `rmem.obj'
 win32.mak:427: warning: overriding commands for target `port.obj'
 win32.mak:427: warning: ignoring old commands for target `port.obj'
 win32.mak:430: warning: overriding commands for target `root.obj'
 win32.mak:430: warning: ignoring old commands for target `root.obj'
 win32.mak:433: warning: overriding commands for target `response.obj'
 win32.mak:433: warning: ignoring old commands for target `response.obj'
 win32.mak:436: warning: overriding commands for target `speller.obj'
 win32.mak:436: warning: ignoring old commands for target `speller.obj'
 win32.mak:439: warning: overriding commands for target `stringtable.obj'
 win32.mak:439: warning: ignoring old commands for target `stringtable.obj'
 win32.mak:494: warning: overriding commands for target `clean'
 solaris.mak:100: warning: ignoring old commands for target `clean'
 win32.mak:501: warning: overriding commands for target `zip'
 solaris.mak:602: warning: ignoring old commands for target `zip'
 win32.mak:511: warning: overriding commands for target `detab'
 win32.mak:511: warning: ignoring old commands for target `detab'
 win32.mak:514: warning: overriding commands for target `tolf'
 win32.mak:514: warning: ignoring old commands for target `tolf'
 win32.mak:521: warning: overriding commands for target `install2'
 win32.mak:521: warning: ignoring old commands for target `install2'
 win32.mak:538: warning: overriding commands for target `svn2'
 win32.mak:538: warning: ignoring old commands for target `svn2'
 del *.obj
 /bin/sh: del: command not found
 make[1]: *** [clean] Error 127
 make[1]: Leaving directory `/d/src/dmd'
 make: *** [release] Error 2
 ----------------------
 
 What has happend? Does the win32.mak in DMD2.052 on github.com has been
 updated to the proper version so that it can be compiled ?
 
 I tryed to compile the dmd source which has been downloaded from
 digitalmar.com, but I got the errors also.
 
 BTW, in my system, I also installed "MinGW" with "msys",so that I can use gcc
 and g++.
 ------------------
 [gcc -version]:
 D:\>gcc -v
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=d:/program/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrappe
 r.exe
 Target: mingw32
 Configured with: ../gcc-4.5.2/configure
--enable-languages=c,c++,ada,fortran,obj
 c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared
--enable-libgo
 mp --disable-win32-registry --enable-libstdcxx-debug
--enable-version-specific-r
 untime-libs --disable-werror --build=mingw32 --prefix=/mingw
 Thread model: win32
 gcc version 4.5.2 (GCC)
 ------------------
 
 ------------------
 D:\>g++ -v
 Using built-in specs.
 COLLECT_GCC=g++
 COLLECT_LTO_WRAPPER=d:/program/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrappe
 r.exe
 Target: mingw32
 Configured with: ../gcc-4.5.2/configure
--enable-languages=c,c++,ada,fortran,obj
 c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared
--enable-libgo
 mp --disable-win32-registry --enable-libstdcxx-debug
--enable-version-specific-r
 untime-libs --disable-werror --build=mingw32 --prefix=/mingw
 Thread model: win32
 gcc version 4.5.2 (GCC)
 ------------------
 
 ------------------
 D:\>dmc
 Digital Mars Compiler Version 8.42n
 Copyright (C) Digital Mars 2000-2004.  All Rights Reserved.
 Written by Walter Bright  www.digitalmars.com/ctg/sc.html
 DMC is a one-step program to compile and link C++, C and ASM files.
 Usage ([] means optional, ... means zero or more):
 
         DMC file... [flags...] [ respfile]
 
 file...         .CPP, .C or .ASM source, .OBJ object or .LIB library file name
  respfile...    pick up arguments from response file or environment variable
 flags...        one of the following:
 
                 **** Press a key for more ****
 ------------------
 Why my doc version is ver 8.42n ?
 It should be 8.52c when I download it from
 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/dm852c.zip, right ?
 
 Could anyone be kindly to help me about the dmd compile error and dmc version
 confused issue?
 
 
 David.
 2011.02.20  GTM+8 20:10

Feb 20 2011
prev sibling parent Walter Bright <newshound2 digitalmars.com> writes:
David Wang wrote:
 Why my doc version is ver 8.42n ?
 It should be 8.52c when I download it from
 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/dm852c.zip, right ?

http://www.digitalmars.com/faq.html#version
Feb 20 2011