Path separator for ldc2 vs. dmd

David Nadlinger via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Jun 14 10:21:29 PDT 2016


Hi Brian,

On 14 Jun 2016, at 18:11, Brian via digitalmars-d-ldc wrote:
> I hope this is user error and is obvious, but I've spent a bit of time 
> searching (and trying permutations) and not determined what is causing 
> the path separator message below.
> […]
> C:\....>dub --compiler=c:....\ldc2\bin\ldc2
> […]
> Error: module sourcederelictutilexception is in file 
> 'sourcederelictutilexception.d' which cannot be read

Could you have a look at the actual LDC command line (dub has a verbose 
switch)? We might not be handling a particular style of path separators 
correctly.

Does it work if you use ldmd2 as the compiler?

Best,
David


More information about the digitalmars-d-ldc mailing list