DMD to LDC2 option converter for Coedit

Basile B. via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Dec 11 03:11:00 PST 2015


On Friday, 11 December 2015 at 09:16:47 UTC, kink wrote:
> On Friday, 11 December 2015 at 06:20:10 UTC, Basile B. wrote:
>> I've been quite surprised to see that most of the options are 
>> compatible, however
>> I'm looking for someone who masters well LDC options to 
>> contribute to a tool for Coedit that converts DMD options to 
>> LDC2 options, either directly in a D project or here as a list.
>
> The ldmd2 driver (part of LDC) is meant as inline-replacement 
> of the dmd binary with LDC, translating DMD options to LDC 
> ones. If some options are missing, that should be the tool to 
> be adapted. External tools relying on DMD options should use 
> ldmd2 instead of ldc2, although some interesting LDC 
> functionality is missing that way (`-output-ll`, `-mtriple` and 
> the like).

I didn't know, thanks for the information, ldmd2 is just perfect 
for the task.
If anyone reads this topic, just skip. Problem solved. :)




More information about the digitalmars-d-ldc mailing list