Maybe you forgot to clean up the object files from the
win64/win32-dmc build?
This is extracted from my build batch:
set dm_make=c:\l\dmc\bin\make
set DMD=../windows/bin/dmd.exe
set cl32=%VCINSTALLDIR%/bin/cl.exe
set ar32=%VCINSTALLDIR%/bin/lib.exe
cd druntime
del /q errno_c.obj complex.obj
%dm_make% -f win64.mak DMD=%DMD% MODEL=32mscoff "CC=\"%cl32%\""
if errorlevel 1 goto xit
cd ..
cd phobos
cd etc\c\zlib
%dm_make% -f win64.mak clean
cd ..\..\..
%dm_make% -f win64.mak DMD=%DMD% MODEL=32mscoff "CC=\"%cl32%\""
MAKE=%dm_make% "AR=\"%ar32%\""
if errorlevel 1 goto xit
cd ..
You might not need the CC and AR arguments to make if you use
the VS2010 installation as expected by the makefiles.
[My mail program shows a line break in the last call to make,
there should be no line break before "MAKE=%dm_make%".]
Thank you very much it's a good idea.