Weird compiler

ZombineDev via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 19 11:04:52 PDT 2016


On Sunday, 19 June 2016 at 16:24:53 UTC, mogu wrote:
> On Sunday, 19 June 2016 at 15:06:40 UTC, David Nadlinger wrote:
>> On Sunday, 19 June 2016 at 14:05:22 UTC, mogu wrote:
>>> It's awful that I compile a little 64bit program(or 
>>> -m32mscoff) in windows must have visual studio which has 
>>> tremendous size installed even though I only need a linker. 
>>> It's weird that a compiler compiles to binary targets needs 
>>> another compiler or tools. Sigh.
>>
>> Microsoft now releases the Visual C++ Build Tools separately, 
>> which contain their C++ toolchain without the IDE parts 
>> (https://blogs.msdn.microsoft.com/vcblog/2016/03/31/announcing-the-official-release-of-the-visual-c-build-tools-2015/).
>>
>>  — David
>
> I just tested. After the build tools 2015 installed, DMD 
> installer says "no compatible version(MSVC or SDK) founded, Do 
> you want to install VS2013?".

Visual Studio / Windows SDK is detected by DMD only at 
install-time.
If you re-install DMD, it should detect the location of the VS 
tools.
If that doesn't work, you can always edit the config file 
yourself (sc.ini which is somewhere in the DMD install dir).


More information about the Digitalmars-d mailing list