www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - LDC 0.17.0-alpha1 has been released!

reply Kai Nacke <kai redstar.de> writes:
Hi everyone!

On behalf of the LDC team I am proud to announce the new 
0.17.0-alpha1 release!
It is based on the 2.068.2 front-end and LLVM 3.5-3.7.

This is the first version of the new release. It contains many 
internal refactorings, including preparation for a Win32 compiler.
Thanks to the whole team doing this great work. A special thanks 
goes to Rainer for the work on the Win32 compiler.

Be sure to read the change log at the GitHub release page which 
also has the package download links:
https://github.com/ldc-developers/ldc/releases/tag/v0.17.0-alpha1

MD5 checksums for the release packages:

90f521fafa6fee5f9c1bd05dc428e58a ldc-0.17.0-alpha1-src.tar.gz
8485b94c335077f06d9dc5e61ab01aa0 
ldc2-0.17.0-alpha1-linux-x86.tar.gz
53aaafc1bda54ca69d6cf103e0e60974 
ldc2-0.17.0-alpha1-linux-x86.tar.xz
125ff8c8d93557f9ed53d9b985f69351 
ldc2-0.17.0-alpha1-linux-x86_64.tar.gz
b1b016cb9195cf9adcbf86e7c5d633d5 
ldc2-0.17.0-alpha1-linux-x86_64.tar.xz
93876eff6253ede02effc5043c75502f 
ldc2-0.17.0-alpha1-osx-x86_64.tar.gz
4074508cf3d9687db65c516ff25c2cf2 
ldc2-0.17.0-alpha1-osx-x86_64.tar.xz
bdc83bf24ebf76dda6bba2f2d164fcfb ldc2-0.17.0-alpha1-win64-msvc.zip

Regarding the binaries:
The Linux binaries are built on Ubuntu 12.04 LTS with gcc 4.8.x 
and LLVM 3.7.0. They work on Ubuntu 12.04 LTS (or later) without 
installing additional software.

The OS X binaries are built with LLVM 3.6.2 on OS X 10.10.

The Win64 MSVC version is built with VS2015 using LLVM 3.7 in 
release mode. The distribution now contains a precompiled libcurl 
7.40.0 from http://d.darktech.org/libcurl.html. For any other 
VisualStudio version you need to rebuild the library.
You find the build script here: 
https://github.com/ldc-developers/ldc-scripts/blob/master/ldc2-win64/RELEASE.proj

Please be sure to report any bugs at 
https://github.com/ldc-developers/ldc/issues, and feel free to 
drop by at the digitalmars.D.ldc forums 
(http://forum.dlang.org/group/digitalmars.D.ldc) for any 
questions or comments.

Thanks to everybody involved in making this happen!

Regards,
Kai
Dec 20 2015
next sibling parent reply Jakob Jenkov <jakob jenkov.com> writes:
 On behalf of the LDC team I am proud to announce the new 
 0.17.0-alpha1 release!
 It is based on the 2.068.2 front-end and LLVM 3.5-3.7.
Congratulations! The LDC compiler compiles to LLVM ASM, right? And from LLVM ASM you can compile to other platforms, right? Like ARM?
Dec 20 2015
next sibling parent reply Kai Nacke <kai redstar.de> writes:
On Sunday, 20 December 2015 at 17:02:16 UTC, Jakob Jenkov wrote:
 On behalf of the LDC team I am proud to announce the new 
 0.17.0-alpha1 release!
 It is based on the 2.068.2 front-end and LLVM 3.5-3.7.
Congratulations! The LDC compiler compiles to LLVM ASM, right? And from LLVM ASM you can compile to other platforms, right? Like ARM?
In general yes. It depends on how you compiled LLVM. The binary distribution (except Win64) can compile only to x86/x86_64. If you compile from source then it depends on your distribution. People are using ldc to compile for ARM and AArch64, for example. See the other threads in this forum. Regards, Kai
Dec 20 2015
next sibling parent reply Paolo Invernizzi <paolo.invernizzi no.address> writes:
On Sunday, 20 December 2015 at 17:56:45 UTC, Kai Nacke wrote:
 In general yes. It depends on how you compiled LLVM. The binary 
 distribution (except Win64) can compile only to x86/x86_64. If 
 you compile from source then it depends on your distribution.
Just to know, is it possible to emit 32bit executable with the Win64 LDC? Thanks /Paolo
Dec 21 2015
next sibling parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 21.12.2015 11:26, Paolo Invernizzi wrote:
 On Sunday, 20 December 2015 at 17:56:45 UTC, Kai Nacke wrote:
 In general yes. It depends on how you compiled LLVM. The binary
 distribution (except Win64) can compile only to x86/x86_64. If you
 compile from source then it depends on your distribution.
Just to know, is it possible to emit 32bit executable with the Win64 LDC? Thanks /Paolo
Not yet, but there is some work done on binding to the MS runtime based on LLVM 3.8: https://github.com/ldc-developers/ldc/pull/1168 LDC used to able to build for mingw for win32, but that's been broken by changes to the D runtime.
Dec 22 2015
prev sibling parent Kai Nacke <kai redstar.de> writes:
On Monday, 21 December 2015 at 10:26:56 UTC, Paolo Invernizzi 
wrote:
 On Sunday, 20 December 2015 at 17:56:45 UTC, Kai Nacke wrote:
 In general yes. It depends on how you compiled LLVM. The 
 binary distribution (except Win64) can compile only to 
 x86/x86_64. If you compile from source then it depends on your 
 distribution.
Just to know, is it possible to emit 32bit executable with the Win64 LDC? Thanks /Paolo
I guess you are asking about Win32 executables. This is currently not possible. Win32 is still work in progress and requires LLVM 3.8 which is not released yet. Regards, Kai
Jan 07
prev sibling parent reply Temtaime <temtaime gmail.com> writes:
Hi Kai !
Is there any work on ddmd frontend ?
When ldc on ddmd frontend is expected to be released ?
Dec 28 2015
next sibling parent Kai Nacke <kai redstar.de> writes:
On Monday, 28 December 2015 at 23:29:06 UTC, Temtaime wrote:
 Hi Kai !
 Is there any work on ddmd frontend ?
 When ldc on ddmd frontend is expected to be released ?
Hi Temtaine! As far as I know nobody works on the next DMD release (the ddmd release) yet. This will happen as soon as 0.17.0 is released. Regards, Kai
Jan 07
prev sibling parent Kai Nacke <kai redstar.de> writes:
On Monday, 28 December 2015 at 23:29:06 UTC, Temtaime wrote:
 Hi Kai !
 Is there any work on ddmd frontend ?
 When ldc on ddmd frontend is expected to be released ?
Johan works on the ddmd frontend right now. Regards, Kai
Jan 17
prev sibling parent Joakim <dlang joakim.fea.st> writes:
On Sunday, 20 December 2015 at 17:02:16 UTC, Jakob Jenkov wrote:
 On behalf of the LDC team I am proud to announce the new 
 0.17.0-alpha1 release!
 It is based on the 2.068.2 front-end and LLVM 3.5-3.7.
Congratulations! The LDC compiler compiles to LLVM ASM, right? And from LLVM ASM you can compile to other platforms, right? Like ARM?
What you call llvm asm is named llvm IR, for Intermediate Representation: https://en.wikipedia.org/wiki/LLVM#LLVM_Intermediate_Representation The IR's an assembly-style language that is then translated to the native assembly language for your architecture. In practice, you don't have to worry about the IR, as llvm comes with such assembly translation backends for many architectures, so you almost never have to deal with the IR itself.
Dec 21 2015
prev sibling parent FrankLike <1150015857 qq.com> writes:
Nice work!
But now´╝îI can't worK with it:

At LDC 0.15.1,my win7 x86-x64 is not install visual studio .net 
2012,but I can copy some vs2012 folders(common7, VC) into LDC and
  copy 3 dll files to bin folder(msvcp120d.dll msvcr120d.dll 
vccorlib120d.dll),set link at bat file, then ldc2 works ok.
But in 0.17.alpha1,LDC2 must detect whether install vs2012,you 
know that vs2012 is very huge,but some folers is small ,only 
474MB,I think copy it and to use is very cool,are't you? Now,I 
can't work with LDC0.17 alpha1.
Can you let us do some set,not to detect folder,ok?

Thank you.
Dec 30 2015