Graham:<br>>I should clarify that I know I can just put the dranges sources in, e.g,<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
a 'dranges' subdirectory, compile drange/*.d into a library and do<br>
something like:<br>
<br>
dmd -Ldranges/dranges.a -Idranges test.d<br>
<br>
...and I could modify /etc/dmd.conf by hand to add my dranges directory<br>
to the appropriate paths. But I wonder if I'm missing a more idiomatic<br>
way to install third-party libraries for D2.<br>
<br>
Thanks,<br>
<font color="#888888">Graham<br>
<br></font></blockquote><div><br>Then you know as much as me. I don't even compile them into a library, I just add them into my current project (Code::Blocks accepts this) and compile the entire project.<br><br>I just put a zip file in the download area with some new modules and all the modules inside a dranges directory.<br>
What I'd do is just putting the dranges dir inside my project and do<br><br>import dranges.all;<br><br>in my own module. It seems in this case you don't even need to indicate any path or whatever.<br>"<br>module mymod;<br>
import dranges.all;<br><br>void main() {}<br>"<br><br>% dmd mymod<br><br>(untested, I use DMD under windows and am on Linux right now, but IIRC it worked for me.)<br><br>Philippe<br><br></div></div>