How to get *32mscoff libraries for phobos?
Taylor Hillegeist via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jul 23 07:56:46 PDT 2015
On Thursday, 23 July 2015 at 01:43:56 UTC, Mike Parker wrote:
> On Thursday, 23 July 2015 at 01:39:05 UTC, Mike Parker wrote:
>
>> post at [1] where Rainer shared the relevant bits of a batch
>
> Gah, hate it when I forget the links.
>
> [1] http://forum.dlang.org/post/m456t5$2jc4$1@digitalmars.com
IT worked! Placing this Batch file in the dmd2\src Folder.
---------------------------------- BEGIN FILE: BUILD.bat
set dm_make=C:\D\dmd2\windows\bin\make.exe
set DMD=C:\D\dmd2\windows\bin\dmd.exe
set cl32=C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\bin\cl.exe
set ar32=C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\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 ..
---------------------------------- END FILE
I had to reinstall dmd (I think I messed up my dmd2\src folder
somehow)
I used visual studio 2013 community edition.
SO. Where do i put it now that its built? I placed it in the
dmd2\windows\lib and i still got LINK : fatal error LNK1104:
cannot open file 'phobos32mscoff.lib'
... perhaps i need to edit the sc.ini file...
More information about the Digitalmars-d-learn
mailing list