Re: D based build system to replace current makefile

2013-05-30 Thread Flamaros
On Thursday, 30 May 2013 at 07:50:11 UTC, Timothee Cour wrote: We should move to a D-based build system to build dmd/druntime/phobos/d-programming-language/tools. Reasons, in case it's not obvious: 1) DRY: makefile is full of repetitions 2) cross platform: different makefiles for different arc

Re: D based build system to replace current makefile

2013-05-30 Thread Nick Sabalausky
On Thu, 30 May 2013 16:56:48 -0400 "Jonathan M Davis" wrote: > > And while many of us really aren't very good at make > and find the Makefiles that we have to be rather obtuse, folks that > are more proficient at make might not think that making the switch to > a D script would make sense. And I

Re: D based build system to replace current makefile

2013-05-30 Thread Jonathan M Davis
On Thursday, May 30, 2013 16:47:49 Nick Sabalausky wrote: > Also, while I like the idea of replacing makefiles with a D solution, > I'm unsure whether it's really a good idea because that may make it > more difficult to bootstrap DMD to run on new platforms. I would point out that we're going to h

Re: D based build system to replace current makefile

2013-05-30 Thread Nick Sabalausky
On Thu, 30 May 2013 00:49:57 -0700 Timothee Cour wrote: > We should move to a D-based build system to build > dmd/druntime/phobos/d-programming-language/tools. > > Reasons, in case it's not obvious: > > 1) DRY: makefile is full of repetitions > 2) cross platform: different makefiles for differe

Re: D based build system to replace current makefile

2013-05-30 Thread Nick Sabalausky
On Thu, 30 May 2013 06:13:54 -0400 Nick Sabalausky wrote: > On Thu, 30 May 2013 00:49:57 -0700 > Timothee Cour wrote: > > > > Here's how it'd work: > > > > 1) a mixed D-based/makefile build that'll work 'from scratch' via > > bootstrapping: > > 1a) dmd: first uses a makefile to build dmd+drunt

Re: D based build system to replace current makefile

2013-05-30 Thread Nick Sabalausky
On Thu, 30 May 2013 00:49:57 -0700 Timothee Cour wrote: > > Here's how it'd work: > > 1) a mixed D-based/makefile build that'll work 'from scratch' via > bootstrapping: > 1a) dmd: first uses a makefile to build dmd+druntime > 1b) rdmd built from a D file using dmd > 1c) phobos, d-programming-lan

D based build system to replace current makefile

2013-05-30 Thread Timothee Cour
We should move to a D-based build system to build dmd/druntime/phobos/d-programming-language/tools. Reasons, in case it's not obvious: 1) DRY: makefile is full of repetitions 2) cross platform: different makefiles for different architectures are needed (even win32 vs win64!) 3) safety: makefile h