On Friday, 20 March 2015 at 15:19:03 UTC, Martin Nowak wrote:
On 03/19/2015 08:02 AM, Rainer Schuetze wrote:
The COFF32 lib is built through win64.mak. This is an excerpt
from my
build script to create lib32\phobos32mscoff.lib:
set dm_make=c:\l\dmc\bin\make
set vs=vs12
set vcdir=c:\l\%vs%\vc
set cl32=%vcdir%/bin/cl.exe
set ar32=%vcdir%/bin/lib.exe
set MSLINK=%vcdir%\bin\link.exe
set lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib
set sdkdir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A
set LINKCMD=%MSLINK%
set LIB=%LIB32COFF%
set ARGS=DMD=%DMD% MAKE=%dm_make% "CC=\"%cl32%\""
"AR=\"%ar32%\""
VCDIR=%vcdir% "SDKDIR=%sdkdir%"
cd druntime
%dm_make% -f win64.mak MODEL=32mscoff %ARGS% target
if errorlevel 1 goto xit
cd ..
cd phobos
%dm_make% -f win64.mak MODEL=32mscoff %ARGS%
LIB=..\lib32\phobos32mscoff.lib
if errorlevel 1 goto xit
cd ..
It's seriously too late, unless someone else steps up and does
it. I'd
need to change the build script to clean and build another
Windows
target, and my time is bound to regression fixing.
Been waiting for this for almost 2 years, might as well wait for
another release. Seriously tho, it is surprising how much little
attention is put into C++/D integration considering all the
recent fuss about this. And yes, I've tried mixed C++/D app on
x64 Win, it crashes with simple writeln() call.