August 10, 2005
Oh hehe , I didnt mean GNU's strip , I mean the ability to strip out function bodies .

"zwang" <nehzgnaw@gmail.com> wrote in message news:ddd4o2$2u4$1@digitaldaemon.com...
> strip doesn't seem to recognize the file format of executables compiled by dmd for Windows.
>
> Charles wrote:
> > Coolness, so can we expect -strip for 2.10 :) ?
> >
> > Charlie
> >
> > "Derek Parnell" <derek@psych.ward> wrote in message news:1nzad1hebldvl.1npu2clmyrqm2$.dlg@40tude.net...
> >
> >>Release 2.09 (build #1197) is now available.
> >>
> >>URL: http://www.dsource.org/projects/build/
> >>
> >>v2.09 changes
> >>--------------
> >>** FIX: thanks to barrett9h (rodolfo): Now correctly handles the return
> >>value from Unix system() call.
> >>
> >>** FIX: thanks to oniony: Now handles non_ASCII characters in PATH environment symbol.
> >>
> >>** CHG: The "-silent" switch now also hides the linker stdout display.
> >>
> >>** CHG: Now supports and requires DMD v0.126 and GDC v0.13 or later.
> >>
> >>** ENH: New pragma(export_version) allows specified version identifiers
to
> >>be passed to all modules being compiled.
> >>
> >>** ENH: New command line switch "-run" to run the program after a successful link.
> >>--------------
> >>--
> >>Derek Parnell
> >>(skype: derek.j.parnell)
> >>Melbourne, Australia
> >>Download BUILD from ...
> >>http://www.dsource.org/projects/build/ v2.09 released 10/Aug/2005
> >>
> >>http://www.prowiki.org/wiki4d/wiki.cgi?FrontPage
> >>
> >>10/08/2005 12:04:48 PM
> >
> >
> >


August 10, 2005
Well, all I can say is - I will start using "build" when you make it work
with C, C++ and C#. Some other people will probably add JAVA to this list,
or ADA, or FORTRAN... - My point is - I dislike mixing stuff I do not need
to - GNU Make works pretty well with anything.
Sure I will allways recommend "build" to my friends who use only D in their
work.

-- 
...........
Dejan Lekic
  http://dejan.lekic.org

August 10, 2005
Thanks for adding version ident export feature.


"Derek Parnell" <derek@psych.ward> ??????:1nzad1hebldvl.1npu2clmyrqm2$.dlg@40tude.net...
> Release 2.09 (build #1197) is now available.
>
> URL: http://www.dsource.org/projects/build/
>
> v2.09 changes
> --------------
> ** FIX: thanks to barrett9h (rodolfo): Now correctly handles the return
> value from Unix system() call.
>
> ** FIX: thanks to oniony: Now handles non_ASCII characters in PATH environment symbol.
>
> ** CHG: The "-silent" switch now also hides the linker stdout display.
>
> ** CHG: Now supports and requires DMD v0.126 and GDC v0.13 or later.
>
> ** ENH: New pragma(export_version) allows specified version identifiers to be passed to all modules being compiled.
>
> ** ENH: New command line switch "-run" to run the program after a successful link.
> --------------
> -- 
> Derek Parnell
> (skype: derek.j.parnell)
> Melbourne, Australia
> Download BUILD from ...
> http://www.dsource.org/projects/build/ v2.09 released 10/Aug/2005
>
> http://www.prowiki.org/wiki4d/wiki.cgi?FrontPage
>
> 10/08/2005 12:04:48 PM


August 10, 2005
Dejan Lekic wrote:
> Well, all I can say is - I will start using "build" when you make it work
> with C, C++ and C#. Some other people will probably add JAVA to this list,
> or ADA, or FORTRAN... - My point is - I dislike mixing stuff I do not need
> to - GNU Make works pretty well with anything.
> Sure I will allways recommend "build" to my friends who use only D in their
> work.

I imagine RDF's ( file:///c:/WINDOWS/TEMP/RULE_DEFINITION_FILE.htm ) could be used to teach Build to work with C, C++, C#.  To be universally useful, and not just for mixed-language D projects, Build would probably need some tweakage, but still.

I could be wrong.

-- Chris Sauls
August 10, 2005
On Wed, 10 Aug 2005 17:52:10 +0200, Dejan Lekic wrote:

> Well, all I can say is - I will start using "build" when you make it work with C, C++ and C#. Some other people will probably add JAVA to this list, or ADA, or FORTRAN... - My point is - I dislike mixing stuff I do not need to - GNU Make works pretty well with anything.

Oh come on now ... why would I want to encourage people to use those languages?   ;-)

-- 
Derek Parnell
Melbourne, Australia
11/08/2005 7:58:42 AM
August 11, 2005
That is not a bad idea, Derek.  The same idea will apply for the rest.  Can you imagine say things like,

build myprog.c

and it will build it.  Or,

build myprog.java

or

build ... etc,

wow!  Derek, you have come up with something great, my friend.  By the way, I use it every day... :-)  I probably have the most usage from the group. :-)

Thanks Derek.

jic

Dejan Lekic says...
>
>
>Well, all I can say is - I will start using "build" when you make it work
>with C, C++ and C#. Some other people will probably add JAVA to this list,
>or ADA, or FORTRAN... - My point is - I dislike mixing stuff I do not need
>to - GNU Make works pretty well with anything.
>Sure I will allways recommend "build" to my friends who use only D in their
>work.
>
>-- 
>...........
>Dejan Lekic
>  http://dejan.lekic.org
> 


August 11, 2005
On Thu, 11 Aug 2005 01:44:52 +0000 (UTC), jicman wrote:

> That is not a bad idea, Derek.  The same idea will apply for the rest.  Can you imagine say things like,
> 
> build myprog.c
> 
> and it will build it.  Or,
> 
> build myprog.java
> 
> or
> 
> build ... etc,

Well actually, Build can almost do this. You can use build to 'compile' any file explicitly mentioned in the pragma(build).

Look up the "Rule Definition File" stuff in the documentation for details.

This means you can create a D module that looks like a makefile ...

 version(build) {
   pragma(build, "images.rc");
   pragma(build, "special.c");
   pragma(build, "matrix.for");
 }

And it will use the rule definitions to determine if the file needs to be 'compiled' and how to 'compile' it.

I can extend this to command line files too I suppose.

> wow!  Derek, you have come up with something great, my friend.  By the way, I use it every day... :-)  I probably have the most usage from the group. :-)
> 
> Thanks Derek.
> 

Your very welcome.

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
11/08/2005 1:17:27 PM
August 12, 2005
jicman wrote:
...
>  and it will build it.  Or,
> 
> build myprog.java
> 
That would be useless with Java. javac (the Java compiler) already does
what build does: you specify one source file, and it builds all
dependent source (.java) files, but only if the source file is newer
than the object (.class) file.

-- 
Bruno Medeiros
Computer Science/Engineering student
August 12, 2005
pragma wrote:
> Being able to say "You can do complex builds without a makefile or an IDE with
> one command" is a very powerful statement, especially in the midst of J2EE
> developers.
> 
Why is it a powerful statement amidst J2EE developers? I can understand
amidst C++ developers, but amidst Java developers javac already does
what build does (see my other post in this thread).

-- 
Bruno Medeiros
Computer Science/Engineering student
August 12, 2005
Bruno Medeiros wrote:
> jicman wrote:
> ...
> 
>>  and it will build it.  Or,
>>
>> build myprog.java
>>
> That would be useless with Java. javac (the Java compiler) already does
> what build does: you specify one source file, and it builds all
> dependent source (.java) files, but only if the source file is newer
> than the object (.class) file.
> 

Well, then we just have to let build call javac for java files to have a general solution. Maybe similar things can be done with other languages, too?
This way build could, for example, build some project with mixed java/D source files :)