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.

This code in the build script would need to be changed.

https://github.com/D-Programming-Language/installer/blob/7fa531bcaf7352f46af734d7804ab399e7c371b8/create_dmd_release/create_dmd_release.d#L383
https://github.com/D-Programming-Language/installer/blob/7fa531bcaf7352f46af734d7804ab399e7c371b8/create_dmd_release/create_dmd_release.d#L595

@rainers please integrate this with win64.mak so we can get this soon.

Does DMD already link against phobos32mscoff?

Reply via email to