www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - using debug version of phobos and druntime on linux

reply Druzhinin Alexandr <news digitalmars.com> writes:
I use dmd/ubuntu 64 bit, rebuild phobos and druntime with debug option 
and I cannot realize where dmd get them from so I can substitute my 
version of these libs. Could someone hint me where I should place them?
Mar 10 2013
next sibling parent Druzhinin Alexandr <news digitalmars.com> writes:
On 10.03.2013 19:19, Druzhinin Alexandr wrote:
 I use dmd/ubuntu 64 bit, rebuild phobos and druntime with debug option
 and I cannot realize where dmd get them from so I can substitute my
 version of these libs. Could someone hint me where I should place them?
I found where phobos is placed. I'm curious in order to change druntime should I rebuild dmd too?
Mar 10 2013
prev sibling parent reply Marco Leise <Marco.Leise gmx.de> writes:
Am Sun, 10 Mar 2013 19:19:13 +0700
schrieb Druzhinin Alexandr <news digitalmars.com>:

 I use dmd/ubuntu 64 bit, rebuild phobos and druntime with debug option 
 and I cannot realize where dmd get them from so I can substitute my 
 version of these libs. Could someone hint me where I should place them?
On another note, LDC compiles both release and debug versions of druntime/Phobos and switches between them depending on whether you do a debug or release build automatically. -- Marco
Mar 10 2013
parent Druzhinin Alexandr <news digitalmars.com> writes:
On 10.03.2013 22:18, Marco Leise wrote:
 Am Sun, 10 Mar 2013 19:19:13 +0700
 schrieb Druzhinin Alexandr <news digitalmars.com>:

 I use dmd/ubuntu 64 bit, rebuild phobos and druntime with debug option
 and I cannot realize where dmd get them from so I can substitute my
 version of these libs. Could someone hint me where I should place them?
On another note, LDC compiles both release and debug versions of druntime/Phobos and switches between them depending on whether you do a debug or release build automatically.
It's cool. But dmd has the only version of phobos at once. I realized that phobos contains druntime so my problem is solved. But having opportunity to switch between release and debug version is very convinient.
Mar 10 2013