<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 15 March 2013 15:21, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am 15.03.2013 15:29, schrieb Iain Buclaw:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On 15 March 2013 14:06, 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>
Am 15.03.2013 14:20, schrieb Iain Buclaw:<br>
<br>
On 15 March 2013 13:18, 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>
<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></div><div class="im">
On 15 March 2013 13:05, Benjamin Thaut<br>
<<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a> <mailto:<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><u></u>><br></div><div class="im">
<mailto:<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><br>
<mailto:<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><u></u>>__>> wrote:<br>
<br>
Am 15.03.2013 13:26, schrieb Iain Buclaw:<br>
<br>
On 15 March 2013 12:01, Benjamin Thaut<br>
<<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><br>
<mailto:<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><u></u>> <mailto:<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><br>
<mailto:<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><u></u>>__><br>
<br>
<mailto:<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><br>
<mailto:<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><u></u>><br>
<br>
<mailto:<a href="mailto:code@benjamin-thaut.de" target="_blank">code@benjamin-thaut.de</a><br></div><div><div class="h5">
<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<br>
version of<br>
druntime and<br>
phobos. I want to be ablte to specifiy via a<br>
compiler<br>
option to use<br>
a different version of them. In some projects<br>
I use the<br>
original<br>
druntime + phobos and in other projects I use<br>
my custom<br>
version.<br>
With dmd this is possible via a custom sc.ini<br>
file. So<br>
is there a<br>
option to just remove druntime/phobos from<br>
LIBRARY_PATH? (and keep<br>
everything else)<br>
<br>
Kind Regards<br>
Benjamin Thaut<br>
<br>
<br>
You didn't seem to read my first message. :)<br>
<br>
On 15 March 2013 10:03, Iain Buclaw<br>
<<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>><br>
<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>>><br>
<mailto:<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>> <mailto:<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>
<mailto:<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>> <mailto:<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>
<mailto:<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>> <mailto:<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>>>>><u></u>> wrote:<br>
<br>
The library is installed in /usr/lib, which<br>
is part<br>
of the<br>
LIBRARY_PATH. The static library itself is a<br>
combination of<br>
druntime and phobos together, not separate at the<br>
moment. To<br>
specify a different standard library, use<br>
-defaultlib<br>
switch.<br>
<br>
<br>
<br>
--<br>
Iain Buclaw<br>
<br>
*(p < e ? p++ : p) = (c & 0x0f) + '0';<br>
<br>
<br>
I don't fully understand that statement.<br>
So the -defaultlib switch gives the location for the import<br>
files .di/.d and not for the actual library (.a) ?<br>
<br>
<br>
No, that's -I and -J<br>
<br>
<br>
<br>
Use case:<br>
<br>
gdc foo.d -defaultlib tango2<br>
<br>
<br>
This will invoke the driver to add -ltango2 to the linker options,<br>
instead of -lgphobos2<br>
<br>
Regards<br>
--<br>
Iain Buclaw<br>
<br>
*(p < e ? p++ : p) = (c & 0x0f) + '0';<br>
<br>
<br>
Well but I'm not talking about the linker. If I do<br>
<br>
import std.stdio;<br>
<br>
I want to have a error message that std.stdio does not exist.<br>
<br>
Kind Regards<br>
Benjamin Thaut<br>
<br>
<br>
<br></div></div><div class="im">
-nostdinc should do that. Though the first error thrown would be that<br>
object.di cannot be found, which is correct behaviour, you need to<br>
specify where the new object.di is using -I<br>
<br>
<br></div><div class="im">
--<br>
Iain Buclaw<br>
<br>
*(p < e ? p++ : p) = (c & 0x0f) + '0';<br>
</div></blockquote>
<br>
Thats the problem. As soon as I specify -nostdinc a lot of other options get missing to. For example gdc no longer includes the contents of version(Windows) statements.<br>
Is it possible that the phobos-ver-syms files have something to do with that?<br>
<br clear="all"></blockquote></div><br></div><div class="gmail_extra">That shouldn't be the case if you are using a recent development version (see patch-versym-os-4.8.x where there is a builtin define for Windows)<br>
</div><div class="gmail_extra"><br>-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>