LDC 1.0.0 has been released!

Guillaume Piolat via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Jun 6 03:45:39 PDT 2016


On Monday, 6 June 2016 at 07:25:49 UTC, tester wrote:
> On Monday, 6 June 2016 at 07:00:56 UTC, Kai Nacke wrote:
>> Hi everyone,
>>
>> It is a great pleasure to announce that version 1.0.0 of LDC, 
>> the LLVM-based D compiler, is now available for download!
>>
>> The release is based on the 2.070.2 frontend and standard 
>> library and supports LLVM 3.5-3.8. We provide binaries for 
>> Linux, OX X, Win32 & Win64, Linux/ARM (armv7hf). :-)
>>
>> As usual, you can find links to the changelog and the binary 
>> packages over at digitalmars.D.ldc:
>> http://forum.dlang.org/post/lwsnqbravjqbnnryvjkx@forum.dlang.org
>>
>> Regards,
>> Kai
>
>
> very nice!
> how about a howto for windows/VS users?

Hi,

Here is what I've learned:

- use VS 2015 preferably,
- since a while the stock LDC package work as is, nothing to 
configure,
- use PATH and --compiler=ldc2 or --compiler=path/to/compiler.exe 
to tell dub where LDC is (separate packages for 32-bit and 
64-bit),
- to avoid a dependency on the VS 2015 runtime, add the following 
linker flags:

"lflags-windows-ldc": [
         "libcmt.lib",
         "/nodefaultlib:msvcrt.lib",
         "/nodefaultlib:vcruntime.lib"
     ],

- executables made with LDC are not supported on XP and Vista, 
but seem to work regardless :)


More information about the Digitalmars-d-announce mailing list