www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - sc.ini

reply "Gor Gyolchanyan" <gor.f.gyolchanyan gmail.com> writes:
Good day,

I remember hearing something about separating 32-bit and 64-bit 
environment configuration in sc.ini, but I don't seem to see any 
changes. I really don't get why is sc.ini so messed up and not 
working? Is it so very hard to make a configuration file? I can't 
get 64-bit version to work. My MSVC linker doesn't get called.

Regards,
Gor Gyolchanyan.
Feb 02 2013
parent reply "Michael" <pr m1xa.com> writes:
Hi,
diff versions of Visual Studio may have diff installation path.

So here mine in proper order:

VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 
11.0\VC\

LINKCMD64=%VCINSTALLDIR%\bin\x86_amd64\link.exe

WindowsSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\


P.S.: I use: Win 8 Pro 64 bit, AMD Cpu, Visual Studio 2012 
Express for Desktop.
Feb 02 2013
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 02.02.2013 14:16, Michael wrote:
 Hi,
 diff versions of Visual Studio may have diff installation path.

 So here mine in proper order:

 VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\

 LINKCMD64=%VCINSTALLDIR%\bin\x86_amd64\link.exe

 WindowsSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\


 P.S.: I use: Win 8 Pro 64 bit, AMD Cpu, Visual Studio 2012 Express for
 Desktop.
You can also set 64-bit specific settings in an [Environment64] section: [Environment64] LIB="% P%\..\..\lib64";c:\l\vc10\lib64" DFLAGS=%DFLAGS% -L/nologo I hope the dmd internal magic regarding the VCINSTALLDIR and WindowsSdkDir settings gets moved to this sections.
Feb 02 2013
parent Dmitry Olshansky <dmitry.olsh gmail.com> writes:
02-Feb-2013 18:55, Rainer Schuetze пишет:
 On 02.02.2013 14:16, Michael wrote:
 Hi,
 diff versions of Visual Studio may have diff installation path.

 So here mine in proper order:

 VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\

 LINKCMD64=%VCINSTALLDIR%\bin\x86_amd64\link.exe

 WindowsSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\


 P.S.: I use: Win 8 Pro 64 bit, AMD Cpu, Visual Studio 2012 Express for
 Desktop.
You can also set 64-bit specific settings in an [Environment64] section: [Environment64] LIB="% P%\..\..\lib64";c:\l\vc10\lib64" DFLAGS=%DFLAGS% -L/nologo I hope the dmd internal magic regarding the VCINSTALLDIR and WindowsSdkDir settings gets moved to this sections.
Mmm.. great, thanks. I've also been wondering how to make separate 64-bit config on Windows, as before I messed up one or the other. -- Dmitry Olshansky
Feb 02 2013