gdc phobos and druntime automatic import
Iain Buclaw
ibuclaw at ubuntu.com
Fri Mar 15 03:05:51 PDT 2013
On 15 March 2013 10:03, Iain Buclaw <ibuclaw at ubuntu.com> wrote:
> On 14 March 2013 19:05, Benjamin Thaut <code at benjamin-thaut.de> wrote:
>
>> I want to use a different version of druntime and phobos with GDC but I
>> don't want to overwrite the default ones. Instead I want to specifiy a
>> different include directory during compile time. I first thought that
>> -nostdinc is the option I want, but -nostdinc seems to do something
>> different. How does GDC know where to import druntime and phobos from, and
>> how do I overwrite it?
>>
>> Kind Regards
>> Benjamin Thaut
>>
>
>
> The library is installed in /usr/lib, which is part of the
> LIBRARY_PATH. The static library itself is a combination of druntime and
> phobos together, not separate at the moment. To specify a different
> standard library, use -defaultlib switch.
>
>
Will also make mention that druntime is installed in /usr/lib too (
-lgdruntime )
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20130315/38cd8123/attachment.html>
More information about the D.gnu
mailing list