On 20.03.2015 16:18, 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.

I think we should not do it for the dmd 2.067 release. It would be good to have it integrated into the test infrastructure before adding it to the release. Yesterday I tried the unittests with Win32 COFF and hit a regression (?): https://github.com/D-Programming-Language/dmd/pull/4504


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.

I'll look into that, but dm make tends to make it messy...


Does DMD already link against phobos32mscoff?


Yes. The default sc.ini expects it in windows\lib32mscoff.
  • Re: Release Candidate D 2.... NCrashed via Digitalmars-d-announce
  • Re: Release Candidate D 2.... Baz via Digitalmars-d-announce
    • Re: Release Candidate... Szymon Gatner via Digitalmars-d-announce
      • Re: Release Candi... Martin Nowak via Digitalmars-d-announce
        • Re: Release C... Szymon Gatner via Digitalmars-d-announce
        • Re: Release C... Manu via Digitalmars-d-announce
        • Re: Release C... Martin Nowak via Digitalmars-d-announce
          • Re: Relea... Szymon Gatner via Digitalmars-d-announce
          • Re: Relea... Rainer Schuetze via Digitalmars-d-announce
            • Re: ... Martin Nowak via Digitalmars-d-announce
              • ... Rainer Schuetze via Digitalmars-d-announce
              • ... Daniel Murphy via Digitalmars-d-announce
              • ... Szymon Gatner via Digitalmars-d-announce
              • ... Ben Boeckel via Digitalmars-d-announce
              • ... Szymon Gatner via Digitalmars-d-announce
              • ... Daniel Murphy via Digitalmars-d-announce
              • ... Szymon Gatner via Digitalmars-d-announce
              • ... Steven Schveighoffer via Digitalmars-d-announce
              • ... Szymon Gatner via Digitalmars-d-announce
              • ... Martin Nowak via Digitalmars-d-announce
              • ... Szymon Gatner via Digitalmars-d-announce

Reply via email to