Re: Issue with sc.ini within XMake build infrastructure

2017-11-02 Thread Andre Pany via Digitalmars-d-learn
On Thursday, 2 November 2017 at 13:01:05 UTC, rikki cattermole wrote: On 02/11/2017 1:56 PM, Andre Pany wrote: On Thursday, 2 November 2017 at 12:21:50 UTC, rikki cattermole wrote: Override the shipped sc.ini file with your own. Simple and effective solution. What I just found out, by

Re: Issue with sc.ini within XMake build infrastructure

2017-11-02 Thread rikki cattermole via Digitalmars-d-learn
On 02/11/2017 1:56 PM, Andre Pany wrote: On Thursday, 2 November 2017 at 12:21:50 UTC, rikki cattermole wrote: Override the shipped sc.ini file with your own. Simple and effective solution. What I just found out, by calling the batch file "vcvars64.bat" from the visual studio

Re: Issue with sc.ini within XMake build infrastructure

2017-11-02 Thread Andre Pany via Digitalmars-d-learn
On Thursday, 2 November 2017 at 12:21:50 UTC, rikki cattermole wrote: Override the shipped sc.ini file with your own. Simple and effective solution. What I just found out, by calling the batch file "vcvars64.bat" from the visual studio folder it seems everything is already pre

Re: Issue with sc.ini within XMake build infrastructure

2017-11-02 Thread rikki cattermole via Digitalmars-d-learn
issue is, there is no way to install DMD using the executable setup but only extracting the DMD archive. Also editing the sc.ini (by a build script) I dislike. I tried to begin with an easy example. I set the environment variables: SET UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10

Issue with sc.ini within XMake build infrastructure

2017-11-02 Thread Andre Pany via Digitalmars-d-learn
using the executable setup but only extracting the DMD archive. Also editing the sc.ini (by a build script) I dislike. I tried to begin with an easy example. I set the environment variables: SET UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10 SET UCRTVersion=10.0.16299.0 SET

Re: DMD specify VS version in sc.ini

2016-12-27 Thread rjframe via Digitalmars-d-learn
On Tue, 27 Dec 2016 22:09:49 +, Ryan wrote: > I have a C library I want to link against that was compiled with VS > 2013. I have VS2013 and VS2015 installed. I want DMD to use the 2013 > version, since the C-runtime in 2015 is not backwards compatible. > > Looking at sc.in

DMD specify VS version in sc.ini

2016-12-27 Thread Ryan via Digitalmars-d-learn
I have a C library I want to link against that was compiled with VS 2013. I have VS2013 and VS2015 installed. I want DMD to use the 2013 version, since the C-runtime in 2015 is not backwards compatible. Looking at sc.ini I see several entries that relate to the linker, CRT, and SDK. How do I

Re: sc.ini

2013-02-02 Thread Dmitry Olshansky
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

Re: sc.ini

2013-02-02 Thread 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)\Micr

Re: sc.ini

2013-02-02 Thread Michael
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

sc.ini

2013-02-02 Thread Gor Gyolchanyan
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

Re: Ignoring defaults from sc.ini?

2012-10-14 Thread Jacob Carlborg
On Sunday, 14 October 2012 at 09:40:36 UTC, Benjamin Thaut wrote: Is there a way to make dmd ignore the default imports and library search paths inside sc.ini? Currently I have to keep two versions of dmd around, one with a modified sc.ini and one with the original one, which is a bit

Re: Ignoring defaults from sc.ini?

2012-10-14 Thread Andrej Mitrovic
On 10/14/12, Benjamin Thaut wrote: > Is there a way to make dmd ignore the default imports and library search > paths inside sc.ini? See http://dlang.org/dmd-windows.html#sc_ini

Ignoring defaults from sc.ini?

2012-10-14 Thread Benjamin Thaut
Is there a way to make dmd ignore the default imports and library search paths inside sc.ini? Currently I have to keep two versions of dmd around, one with a modified sc.ini and one with the original one, which is a bit annoying. A command line option for the compiler to ignore the defaults