Re: Reggae binary backend: build your project with a D compiled executable

2015-06-08 Thread Atila Neves via Digitalmars-d-announce
On Monday, 8 June 2015 at 08:47:21 UTC, Kagamin wrote: On Monday, 8 June 2015 at 08:00:12 UTC, Atila Neves wrote: But... if we're to think of replacing the current Makefiles for dmd, druntime and phobos, and if the build descriptions that are to replace them are to be truly cross-platform, then

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-08 Thread Kagamin via Digitalmars-d-announce
On Monday, 8 June 2015 at 08:00:12 UTC, Atila Neves wrote: But... if we're to think of replacing the current Makefiles for dmd, druntime and phobos, and if the build descriptions that are to replace them are to be truly cross-platform, then a binary backend is needed and a stripped down version

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-08 Thread Atila Neves via Digitalmars-d-announce
On Monday, 8 June 2015 at 06:59:26 UTC, weaselcat wrote: On Monday, 8 June 2015 at 05:51:58 UTC, Atila Neves wrote: On Sunday, 7 June 2015 at 12:06:52 UTC, Kagamin wrote: On Sunday, 7 June 2015 at 07:00:18 UTC, Atila Neves wrote: I'm currently considering (because of dmd, druntime and phobos)

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-08 Thread weaselcat via Digitalmars-d-announce
On Monday, 8 June 2015 at 05:51:58 UTC, Atila Neves wrote: On Sunday, 7 June 2015 at 12:06:52 UTC, Kagamin wrote: On Sunday, 7 June 2015 at 07:00:18 UTC, Atila Neves wrote: I'm currently considering (because of dmd, druntime and phobos) how to strip it down to its bare essentials and have a co

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 7 June 2015 at 12:06:52 UTC, Kagamin wrote: On Sunday, 7 June 2015 at 07:00:18 UTC, Atila Neves wrote: I'm currently considering (because of dmd, druntime and phobos) how to strip it down to its bare essentials and have a core set of source files that only knows how to build D code,

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Kagamin via Digitalmars-d-announce
On Sunday, 7 June 2015 at 07:00:18 UTC, Atila Neves wrote: I'm currently considering (because of dmd, druntime and phobos) how to strip it down to its bare essentials and have a core set of source files that only knows how to build D code, i.e. no C/C++, no dub, no make/ninja. Why strip?

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Kagamin via Digitalmars-d-announce
The interface can follow that of vibe: --- build.d --- import std.experimental.build; Build myBuild(){ ... } mixin BuildMain!(myBuild); --- Then $ rdmd build.d - compile and run the script, which builds the project by default $ rdmd build.d -ninja - the script run with -ninja switch only gene

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Mike via Digitalmars-d-announce
On Sunday, 7 June 2015 at 07:00:18 UTC, Atila Neves wrote: I'm currently considering (because of dmd, druntime and phobos) how to strip it down to its bare essentials and have a core set of source files that only knows how to build D code, i.e. no C/C++, no dub, no make/ninja. That way just th

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread ketmar via Digitalmars-d-announce
On Sun, 07 Jun 2015 07:02:49 +, Atila Neves wrote: > The binary backend isn't very good (it's probably as slow as make); I > did the simplest thing that would work. I want to eventually optimise it > so it's competitive with ninja and tup. But to do that I need to > measure, and to do that I n

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 7 June 2015 at 05:30:56 UTC, ketmar wrote: On Sat, 06 Jun 2015 20:07:20 +, Atila Neves wrote: Original discussion: http://forum.dlang.org/post/ranqlmrjornlvopsu...@forum.dlang.org Now, with the `-b binary` option, reggae creates an executable called "build" in the build direc

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 7 June 2015 at 02:04:33 UTC, Mike wrote: On Saturday, 6 June 2015 at 20:07:22 UTC, Atila Neves wrote: Original discussion: http://forum.dlang.org/post/ranqlmrjornlvopsu...@forum.dlang.org Now, with the `-b binary` option, reggae creates an executable called "build" in the build dir

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-06 Thread ketmar via Digitalmars-d-announce
On Sat, 06 Jun 2015 20:07:20 +, Atila Neves wrote: > Original discussion: > > http://forum.dlang.org/post/ranqlmrjornlvopsu...@forum.dlang.org > > > Now, with the `-b binary` option, reggae creates an executable called > "build" in the build directory (i.e. wherever the CWD was when calling

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-06 Thread Mike via Digitalmars-d-announce
On Saturday, 6 June 2015 at 20:07:22 UTC, Atila Neves wrote: Original discussion: http://forum.dlang.org/post/ranqlmrjornlvopsu...@forum.dlang.org Now, with the `-b binary` option, reggae creates an executable called "build" in the build directory (i.e. wherever the CWD was when calling the t