On Saturday, 14 July 2018 at 17:19:20 UTC, Andre Pany wrote:
Is there a way to find out both paths based on the dmd executable folder?

What I found out so far, these paths are not always correct:
/usr/include/dmd/druntime/import
/usr/include/dmd/phobos

Arch Linux and derivatives keep them under /usr/include/dlang/{dmd,gdc,ldc}/*

You may have to hardcode some common paths and try them in each in turn. I'm happy to be proven wrong here though.

Reply via email to