www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Building phobos with different druntime path

reply =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> writes:
Hi,

Currently, the Phobos posix.mak assumes that druntime is checked out in 
../druntime, and altering the variable on the make command line for some 
reason seems to do nothing.

Is there any way to specify this path without modifying the makefile?

Regards,
Alex
Aug 21 2011
parent reply David Nadlinger <see klickverbot.at> writes:
On 8/21/11 3:34 PM, Alex Rønne Petersen wrote:
 Currently, the Phobos posix.mak assumes that druntime is checked out in
 ../druntime, and altering the variable on the make command line for some
 reason seems to do nothing.

 Is there any way to specify this path without modifying the makefile?

Specifying DRUNTIME_PATH like this does work for me (GNU Make 3.81): make -f posix.mak DRUNTIME_PATH=../asdf David
Aug 21 2011
parent =?UTF-8?B?QWxleCBSw7hubmUgUGV0ZXJzZW4=?= <xtzgzorex gmail.com> writes:
On 21-08-2011 15:36, David Nadlinger wrote:
 On 8/21/11 3:34 PM, Alex Rønne Petersen wrote:
 Currently, the Phobos posix.mak assumes that druntime is checked out in
 ../druntime, and altering the variable on the make command line for some
 reason seems to do nothing.

 Is there any way to specify this path without modifying the makefile?

Specifying DRUNTIME_PATH like this does work for me (GNU Make 3.81): make -f posix.mak DRUNTIME_PATH=../asdf David

That seems to work. Not sure what I did wrong here... Thanks! Regards, Alex
Aug 21 2011