www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - LDC 1.7.0-beta1

reply kinke <noone nowhere.com> writes:
Hi everyone,

on behalf of the LDC team, I'm glad to announce the first beta 
for LDC 1.7. The highlights of this version in a nutshell:

* Based on D 2.077.1.
* Catching C++ exceptions supported on Linux and Windows.

Full release log and downloads: 
https://github.com/ldc-developers/ldc/releases/tag/v1.7.0-beta1

Thanks to all contributors!
Dec 10 2017
next sibling parent reply Suliman <evermind live.ru> writes:
On Sunday, 10 December 2017 at 17:33:34 UTC, kinke wrote:
 Hi everyone,

 on behalf of the LDC team, I'm glad to announce the first beta 
 for LDC 1.7. The highlights of this version in a nutshell:

 * Based on D 2.077.1.
 * Catching C++ exceptions supported on Linux and Windows.

 Full release log and downloads: 
 https://github.com/ldc-developers/ldc/releases/tag/v1.7.0-beta1

 Thanks to all contributors!
Is it's possible to produce x64 binaries on Windows x64 without installing Visual Studio? DMD do not have linker for x64.
Dec 10 2017
next sibling parent Timothee Cour <thelastmammoth gmail.com> writes:
could these releases be tied to 'homebrew/linuxbrew' upgrades as part
of release process?


On Sun, Dec 10, 2017 at 10:11 AM, Suliman via Digitalmars-d-announce
<digitalmars-d-announce puremagic.com> wrote:
 On Sunday, 10 December 2017 at 17:33:34 UTC, kinke wrote:
 Hi everyone,

 on behalf of the LDC team, I'm glad to announce the first beta for LDC
 1.7. The highlights of this version in a nutshell:

 * Based on D 2.077.1.
 * Catching C++ exceptions supported on Linux and Windows.

 Full release log and downloads:
 https://github.com/ldc-developers/ldc/releases/tag/v1.7.0-beta1

 Thanks to all contributors!
Is it's possible to produce x64 binaries on Windows x64 without installing Visual Studio? DMD do not have linker for x64.
Dec 10 2017
prev sibling next sibling parent John <j t.com> writes:
On Sunday, 10 December 2017 at 18:11:46 UTC, Suliman wrote:
 On Sunday, 10 December 2017 at 17:33:34 UTC, kinke wrote:
 Hi everyone,

 on behalf of the LDC team, I'm glad to announce the first beta 
 for LDC 1.7. The highlights of this version in a nutshell:

 * Based on D 2.077.1.
 * Catching C++ exceptions supported on Linux and Windows.

 Full release log and downloads: 
 https://github.com/ldc-developers/ldc/releases/tag/v1.7.0-beta1

 Thanks to all contributors!
Is it's possible to produce x64 binaries on Windows x64 without installing Visual Studio? DMD do not have linker for x64.
You can install just the C++ build tools from VS.
Dec 11 2017
prev sibling next sibling parent reply Joakim <dlang joakim.fea.st> writes:
On Sunday, 10 December 2017 at 18:11:46 UTC, Suliman wrote:
 On Sunday, 10 December 2017 at 17:33:34 UTC, kinke wrote:
 Hi everyone,

 on behalf of the LDC team, I'm glad to announce the first beta 
 for LDC 1.7. The highlights of this version in a nutshell:

 * Based on D 2.077.1.
 * Catching C++ exceptions supported on Linux and Windows.

 Full release log and downloads: 
 https://github.com/ldc-developers/ldc/releases/tag/v1.7.0-beta1

 Thanks to all contributors!
Is it's possible to produce x64 binaries on Windows x64 without installing Visual Studio? DMD do not have linker for x64.
You could try using the llvm linker, lld, as noted in the release notes for ldc 1.5: https://github.com/ldc-developers/ldc/releases/tag/v1.5.0 I don't know what's needed to link against functions from the Windows libc though. On Sunday, 10 December 2017 at 19:00:53 UTC, Timothee Cour wrote:
 could these releases be tied to 'homebrew/linuxbrew' upgrades 
 as part of release process?
John usually submits a pull to homebrew for the betas, may just be behind on this one: https://github.com/Homebrew/homebrew-core/pull/20580 Looks pretty simple, you or any other brew user could easily submit that too. On Tuesday, 12 December 2017 at 01:37:31 UTC, Meta wrote:
 Very impressive. I'm curious, is the work done to catch C++ 
 exceptions separate from Walter's previous efforts with dmd, or 
 does it build on his work in some way?
As noted in the linked 1.7 release notes, kinke merged ldc's non-MSVC exception-handling with Walter's new DWARF efforts and integrated some work by Rainer for MSVC.
Dec 12 2017
parent reply Suliman <evermind live.ru> writes:
 Is it's possible to produce x64 binaries on Windows x64 
 without installing Visual Studio? DMD do not have linker for 
 x64.
You could try using the llvm linker, lld, as noted in the release notes for ldc 1.5:
Could you explain hot to do it? Install LLVM? And than how I could specify what linker should be used?
Dec 13 2017
next sibling parent Jacob Carlborg <doob me.com> writes:
On 2017-12-13 09:42, Suliman wrote:

 Could you explain hot to do it? Install LLVM? And than how I could 
 specify what linker should be used?
with the "-linker=" flag. -- /Jacob Carlborg
Dec 13 2017
prev sibling parent kinke <noone nowhere.com> writes:
On Wednesday, 13 December 2017 at 08:42:40 UTC, Suliman wrote:
 Is it's possible to produce x64 binaries on Windows x64 
 without installing Visual Studio? DMD do not have linker for 
 x64.
You could try using the llvm linker, lld, as noted in the release notes for ldc 1.5:
Could you explain hot to do it? Install LLVM? And than how I could specify what linker should be used?
Please, I'm tired of explaining this over and over. From LDC's README.txt: `LDC relies on the MS linker and MSVCRT + WinSDK libs.` The first part isn't actually true anymore, `-link-internally` makes LDC link itself via embedded LLD. **But you still need the Windows and Visual C++ runtime libs.** In the LDC release notes (v1.3 IIRC), you'll find a link to a guide about how to produce Win64 binaries from a Linux host; that'd be applicable on Windows too for people having such a big problem with installing Visual Studio/Build Tools.
Dec 13 2017
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
On 2017-12-10 19:11, Suliman wrote:

 Is it's possible to produce x64 binaries on Windows x64 without 
 installing Visual Studio? DMD do not have linker for x64.
There's a Docker image which contains cross-compilers [1]. The one targeting Windows is using MinGW, not sure if that's usable. [1] https://hub.docker.com/r/multiarch/crossbuild/ -- /Jacob Carlborg
Dec 13 2017
prev sibling parent Kagamin <spam here.lot> writes:
On Sunday, 10 December 2017 at 18:11:46 UTC, Suliman wrote:
 Is it's possible to produce x64 binaries on Windows x64 without 
 installing Visual Studio? DMD do not have linker for x64.
Beside linker you will need C startup code. Where do you plan to get it?
Dec 14 2017
prev sibling next sibling parent Meta <jared771 gmail.com> writes:
On Sunday, 10 December 2017 at 17:33:34 UTC, kinke wrote:
 Hi everyone,

 on behalf of the LDC team, I'm glad to announce the first beta 
 for LDC 1.7. The highlights of this version in a nutshell:

 * Based on D 2.077.1.
 * Catching C++ exceptions supported on Linux and Windows.

 Full release log and downloads: 
 https://github.com/ldc-developers/ldc/releases/tag/v1.7.0-beta1

 Thanks to all contributors!
Very impressive. I'm curious, is the work done to catch C++ exceptions separate from Walter's previous efforts with dmd, or does it build on his work in some way?
Dec 11 2017
prev sibling parent reply Thomas Mader <thomas.mader gmail.com> writes:
On Sunday, 10 December 2017 at 17:33:34 UTC, kinke wrote:
 Hi everyone,

 on behalf of the LDC team, I'm glad to announce the first beta 
 for LDC 1.7. The highlights of this version in a nutshell:

 * Based on D 2.077.1.
 * Catching C++ exceptions supported on Linux and Windows.

 Full release log and downloads: 
 https://github.com/ldc-developers/ldc/releases/tag/v1.7.0-beta1

 Thanks to all contributors!
The archive at https://github.com/ldc-developers/ldc/releases/download/v1.7.0-beta1/ldc-1. .0-beta1-src.tar.gz is broken. The https://github.com/ldc-developers/ldc/releases/download/v1.7.0-beta1/ldc 1.7.0-beta1-src.zip works though.
Dec 18 2017
parent kinke <kinke libero.it> writes:
On Monday, 18 December 2017 at 19:59:02 UTC, Thomas Mader wrote:
 The archive at
 https://github.com/ldc-developers/ldc/releases/download/v1.7.0-beta1/ldc-1.
.0-beta1-src.tar.gz is broken. The
https://github.com/ldc-developers/ldc/releases/download/v1.7.0-beta1/ldc
1.7.0-beta1-src.zip works though.
It's compressed twice for unknown reason, see https://github.com/ldc-developers/ldc/issues/2455.
Dec 19 2017