Errors building GtkD on windows
Enjoys Math
enjoysmath at gmail.com
Sun May 19 07:51:58 PDT 2013
On Sunday, 19 May 2013 at 13:20:18 UTC, Mike Wey wrote:
> On 05/19/2013 03:07 PM, Mike Wey wrote:
>>
>> dmd / rdmd is calling the Microsoft linker instead of the one
>> from
>> Digital Mars. Try checking if the LINKCMD is set correctly in
>> sc.ini.
>>
>
> Scratch that, the build script is calling the linker directly.
> It should probably use dmd for linking the the lib.
I don't see how the build script is calling link.exe directly,
but my sc.ini looks like this:
[Version]
version=7.51 Build 020
[Environment]
LIB="%@P%\..\lib";\dm\lib
DFLAGS="-I%@P%\..\..\src\phobos"
"-I%@P%\..\..\src\druntime\import" "-I%@P%\..\..\src"
LINKCMD=%@P%\link.exe
LINKCMD64=%VCINSTALLDIR%bin\amd64\link.exe
VCINSTALLDIR=%VCINSTALLDIR%
WindowsSdkDir=%WindowsSdkDir%
More information about the Digitalmars-d-learn
mailing list