Assembly - 64-bit registers supported?

deed none at none.none
Sun Jan 20 17:55:44 PST 2013


> dmd should output coff when compiling with -m64

You are right, no need for conversion. Coff is output.


>> Anyone having a correct sc.ini file they could post?
>
> Mine looks like this:
>
> [Version]
> version=7.51 Build 020
>
> [Environment]
> LIB="%@P%\..\lib"
> DFLAGS="-I%@P%\..\phobos" "-I%@P%\..\druntime\import"
> VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 
> 9.0\VC\
> WindowsSdkDir=C:\Program Files\Microsoft SDKs\Windows\v7.0\
> LINKCMD=c:\dmd\bin\link.exe
> LINKCMD64=%VCINSTALLDIR%bin\amd64\link.exe
>
> VCINSTALLDIR and WindowsSdkDir may be different depending on 
> the version of the installed windows SDK.

Thanks!
Spaces in paths no problem and dirs should end with backslash..
This file works for me:

LIB="%@P%\..\lib"
DFLAGS="-I%@P%\..\..\src\phobos" 
"-I%@P%\..\..\src\druntime\import"
VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 
10.0\VC\
WindowsSdkDir=C:\Program Files\Microsoft SDKs\Windows\v7.1\
LINKCMD=c:\dmd\bin\link.exe
LINKCMD64=%VCINSTALLDIR%bin\amd64\link.exe


More information about the Digitalmars-d-learn mailing list