<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 15 March 2013 13:05, Benjamin Thaut <span dir="ltr"><<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 15.03.2013 13:26, schrieb Iain Buclaw:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 15 March 2013 12:01, Benjamin Thaut <<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><div class="im"><br>
<mailto:<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><u></u>>> wrote:<br>
<br>
<br>
Well I don't want to overwrite the existing version of druntime and<br>
phobos. I want to be ablte to specifiy via a compiler option to use<br>
a different version of them. In some projects I use the original<br>
druntime + phobos and in other projects I use my custom version.<br>
With dmd this is possible via a custom sc.ini file. So is there a<br>
option to just remove druntime/phobos from LIBRARY_PATH? (and keep<br>
everything else)<br>
<br>
Kind Regards<br>
Benjamin Thaut<br>
<br>
<br></div><div class="im">
You didn't seem to read my first message. :)<br>
<br></div><div class="im">
On 15 March 2013 10:03, Iain Buclaw <<a href="mailto:ibuclaw@ubuntu.com" target="_blank">ibuclaw@ubuntu.com</a><br>
<mailto:<a href="mailto:ibuclaw@ubuntu.com" target="_blank">ibuclaw@ubuntu.com</a>><br></div><div class="im">
<mailto:<a href="mailto:ibuclaw@ubuntu.com" target="_blank">ibuclaw@ubuntu.com</a> <mailto:<a href="mailto:ibuclaw@ubuntu.com" target="_blank">ibuclaw@ubuntu.com</a>>>> wrote:<br>
<br>
The library is installed in /usr/lib, which is part of the<br>
LIBRARY_PATH. The static library itself is a combination of<br>
druntime and phobos together, not separate at the moment. To<br>
specify a different standard library, use -defaultlib switch.<br>
<br>
<br>
<br></div><div class="im">
--<br>
Iain Buclaw<br>
<br>
*(p < e ? p++ : p) = (c & 0x0f) + '0';<br>
</div></blockquote>
<br>
I don't fully understand that statement.<br>
So the -defaultlib switch gives the location for the import files .di/.d and not for the actual library (.a) ?<br>
<br></blockquote></div><br></div><div class="gmail_extra">No, that's -I and -J<br></div><div class="gmail_extra"><br clear="all"><br>-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>