RejectedSoftware Forums

Sign up

Build dub from source using ldc2

Has anyone build dub from source using ldc2, and if so what can you tell me?

Re: Build dub from source using ldc2

On Fri, 24 Mar 2017 03:13:40 GMT, Carl Sturtivant wrote:

Has anyone build dub from source using ldc2, and if so what can you tell me?

I can just say that it is built during the CI process (DMD=ldmd2 ./build.sh) and the one distributed with LDC itself is most likely also built with LDC. So I'd expect it to work just as the DMD compiled version.

Re: Build dub from source using ldc2

On Mon, 27 Mar 2017 12:41:43 GMT, Sönke Ludwig wrote:

On Fri, 24 Mar 2017 03:13:40 GMT, Carl Sturtivant wrote:

Has anyone build dub from source using ldc2, and if so what can you tell me?

I can just say that it is built during the CI process (DMD=ldmd2 ./build.sh) and the one distributed with LDC itself is most likely also built with LDC.

Just to confirm, yes, the executable distributed as part of LDC binary packages it is built with the respective LDC compiler as well.

— David