Compiling with -m64 on Windows uses wrong link location
Rainer Schuetze via Digitalmars-d
digitalmars-d at puremagic.com
Sun Nov 2 01:28:16 PDT 2014
On 01.11.2014 20:00, Josh wrote:
> I only have 1 sc.ini, and -v showed the correct path. Setting the
> LINKCMD64 variable in sc.ini fixed the issue, although it seems kind of
> redundant as I copied LINKCMD and just added 64:
>
> ; Windows installer uncomments the version detected
> ;VC2013 LINKCMD=%VCINSTALLDIR%\bin\x86_amd64\link.exe
> LINKCMD=%VCINSTALLDIR%\bin\x86_amd64\link.exe
> LINKCMD64=%VCINSTALLDIR%\bin\x86_amd64\link.exe
> ;VC2010 LINKCMD=%VCINSTALLDIR%\bin\amd64\link.exe
> ;VC2008 LINKCMD=%VCINSTALLDIR%\bin\amd64\link.exe
I suspect that you have set the LINKCMD64 variable in your system
environment from trying earlier versions of dmd before. You can check
this running "set LINKCMD64" from the command line.
>
> Thanks for that Rainer.
Good to hear it got you going.
More information about the Digitalmars-d
mailing list