Building DMD with DMD or LDC

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 13 23:05:21 PDT 2016


Dne 14.10.2016 v 00:06 Nordlöw via Digitalmars-d-learn napsal(a):

> On Thursday, 13 October 2016 at 19:28:11 UTC, Daniel Kozak wrote:
>> You can easy try it. Just build dmd with dmd, than with ldc. And then 
>> try to compile DMD frontend with both dmd versions :)
>>
>>
>> Dne 13.10.2016 v 21:07 Nordlöw via Digitalmars-d-learn napsal(a):
>>> Is there a large speed difference in compilation time depending on 
>>> whether the DMD used is built using DMD or LDC?
>
> When I replace dmd with ldmd2 in the last call of the build it crashes as
>
> ...
> Error: Error executing 
> /home/per/.local/ldc2-1.1.0-beta3-linux-x86_64/bin/ldc2: Segmentation 
> fault (core dumped)
>
> I'm using LDC 1.1.0-beta3 on Ubuntu 16.04.
This seems like a bug to me, you should fill an issue on ldc github 
tracker. Can you try it with latest stable ldc (1.0)?


More information about the Digitalmars-d-learn mailing list