DDT 0.10.1 released

Bruno Medeiros via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Wed Jul 2 04:05:45 PDT 2014


On 27/06/2014 17:03, Dicebot wrote:
> On Friday, 27 June 2014 at 15:28:30 UTC, Bruno Medeiros wrote:
>> On 24/06/2014 18:53, Daniel Kozak wrote:
>>>> Yeah, someone else had a similar problem recently. DDT tries to detect
>>>> the location of the library source code folders relative to the
>>>> compiler binary, but every other linux distro has its own different
>>>> layout (plus with DMD/GDC/LDC variations).
>>>>
>>>> What's yours so I can add to the auto-detection? Is it:
>>>> /usr/bin/dmd
>>>> /usr/include/dlang   (location of D runtime and Phobos source)
>>>> ?
>>> On Archlinux:
>>> /usr/bin/dmd -- /usr/include/dlang/dmd
>>> /usr/bin/{ldc2,ldmd2} -- /usr/include/dlang/ldc
>>> /usr/bin/gdc -- /usr/include/dlang/gdc
>>
>>
>> Are these :
>> /usr/include/dlang/dmd
>> /usr/include/dlang/ldc
>> /usr/include/dlang/gdc
>> the actual standard library import path *roots* ? That is, is there
>> where object.d/object.di and core/* and std/* are located, or is
>> another subfolder? (DMD sometimes has two import path roots ,
>> "druntime/import" and "phobos")
>
> $ ls /usr/include/dlang/dmd/
> core  etc  index.d  object.di  std  unittest.d

Thanks, then that is indeed be the import root. (and the only one)

Can someone verify the same for LDC?


-- 
Bruno Medeiros
https://twitter.com/brunodomedeiros


More information about the Digitalmars-d-ide mailing list