Re: D tools build problem

2014-03-01 Thread Joseph Rushton Wakeling
On 02/03/14 00:07, Joseph Rushton Wakeling wrote: config/etc/dmd.conf This is interesting. My system doesn't have an /etc/dmd.conf file: I always place dmd.conf in the same directory as the dmd binary. Could it be that people not seeing my linker errors are doing so because the tools b

Re: D tools build problem

2014-03-01 Thread Joseph Rushton Wakeling
On 01/03/14 23:35, Martin Nowak wrote: What are the actual gcc arguments? Thanks for the advice here -- I appreciate it :-) For me running ../dmd/src/dmd -m64 -I../druntime/import -I../phobos -L-L../phobos/generated/linux/release/64 -w -v -ofgenerated/linux/64/dget generated/linux/64/dget.o

Re: D tools build problem

2014-03-01 Thread Martin Nowak
On Tuesday, 11 February 2014 at 23:06:27 UTC, Joseph Rushton Wakeling wrote: With these flags in place, the following error message is produced: (../dmd/src/dmd -m64 -I../druntime/import -I../phobos -L-L../phobos/generated/linux/release/64 -w -v -ofgenerated/linux/64/dget generated/linux/64/d

Re: D tools build problem

2014-02-20 Thread Joseph Rushton Wakeling
On 12/02/14 00:06, Joseph Rushton Wakeling wrote: I've attached my current patch. It should be possible to apply this to master, if anyone wants to test it. I fixed my patch :-) https://github.com/D-Programming-Language/tools/pull/117

Re: D tools build problem

2014-02-11 Thread Joseph Rushton Wakeling
On 11/02/14 23:33, Joseph Rushton Wakeling wrote: On 11/02/14 23:18, Dicebot wrote: On Tuesday, 11 February 2014 at 22:10:21 UTC, Joseph Rushton Wakeling wrote: Exactly what I thought, but they _have_ been built and they are located in the right places. That's why I was baffled by the error me

Re: D tools build problem

2014-02-11 Thread Joseph Rushton Wakeling
On 11/02/14 23:18, Dicebot wrote: On Tuesday, 11 February 2014 at 22:10:21 UTC, Joseph Rushton Wakeling wrote: Exactly what I thought, but they _have_ been built and they are located in the right places. That's why I was baffled by the error message. ../dmd/src/dmd -I../druntime/src -I../phob

Re: D tools build problem

2014-02-11 Thread Joseph Rushton Wakeling
On 11/02/14 23:10, Joseph Rushton Wakeling wrote: On 11/02/14 22:22, Dicebot wrote: It looks for ../druntime - this is where object.di is located, not in compiler repo. You need all of those - dmd, druntime and phobos build before tools. Exactly what I thought, but they _have_ been built and t

Re: D tools build problem

2014-02-11 Thread Dicebot
On Tuesday, 11 February 2014 at 22:10:21 UTC, Joseph Rushton Wakeling wrote: Exactly what I thought, but they _have_ been built and they are located in the right places. That's why I was baffled by the error message. ../dmd/src/dmd -I../druntime/src -I../phobos rdmd.d ;)

Re: D tools build problem

2014-02-11 Thread Joseph Rushton Wakeling
On 11/02/14 22:22, Dicebot wrote: It looks for ../druntime - this is where object.di is located, not in compiler repo. You need all of those - dmd, druntime and phobos build before tools. Exactly what I thought, but they _have_ been built and they are located in the right places. That's why I

Re: D tools build problem

2014-02-11 Thread Dicebot
P.S. Though I don't know if makefile is up to date for tools repo - I have always build needed tools by manually supplying import paths and invoking dmd directly.

Re: D tools build problem

2014-02-11 Thread Dicebot
On Tuesday, 11 February 2014 at 21:16:34 UTC, Joseph Rushton Wakeling wrote: I take it the error is because the makefile tries to build using ../dmd/src/dmd (which exists, I've built it) but can't find the corresponding runtime files. It looks for ../druntime - this is where object.di is locat

D tools build problem

2014-02-11 Thread Joseph Rushton Wakeling
Hello all, I've started encountering a problem recently when building the D tools (i.e. rdmd et al.). $ make -f posix.mak ../dmd/src/dmd -m64 -ofgenerated/linux/64/rdmd rdmd.d Error: cannot find source code for runtime library file 'object.d' dmd might not be correctly installed. Run '