On Wednesday, 22 June 2016 at 19:00:56 UTC, bachmeier wrote:
On Wednesday, 22 June 2016 at 15:48:03 UTC, Mike Parker wrote:


Suppose you need to link against a .so file that is in another directory. How do you find out how to do that on this page:
http://code.dlang.org/package-format?lang=json

But that's just one case. There are basically no examples at all (and the ones that are there probably don't help). There's not even a good explanation of what Dub is. Rust, on the other hand, offers this: http://doc.crates.io/guide.html

If there's no dub option for it, then wouldn't you just pass it to the compiler in a dflags directive? That's basic compiler usage, is it not?


This is not to criticize anyone's work. But it is to say that there is no way Dub, with its current documentation, should be distributed with DMD.

Then why not pitch in to help improving the documentation? If you think there should be something explaining how to find shared libraries in another directory and can't find it anywhere, you can go to the DUB issues page and report it, or ask in the DUB forums how to contribute. That's how things get better around here.

Reply via email to