Re: gchunt v0.2.0

2016-04-06 Thread sigod via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 19:43:08 UTC, jmh530 wrote:

On Tuesday, 5 April 2016 at 19:15:04 UTC, Pradeep Gowda wrote:


This is somewhat tangentially  related  to the announcement.. 
but how does one run "-vgc" switch with "dub"?


Running dmd -vgc with a project with dependencies (eg: docopt) 
failed because dmd could not find the dependencies.


Try:
"dflags-dmd": ["-vgc"],

You could also make a separate configuration with this line in 
it so that you don't have to constantly be adding and removing 
it.


Or `dflags "-vgc" platform="dmd"` in SDL.


Re: gchunt v0.2.0

2016-04-06 Thread Sönke Ludwig via Digitalmars-d-announce

Am 05.04.2016 um 21:15 schrieb Pradeep Gowda:

On Tuesday, 5 April 2016 at 18:47:38 UTC, Dmitry Olshansky wrote:

New release of a tool that generates nice summary reports for static
analysis of GC usage. It's a simple postprocessor for the compiler's
-vgc output.

https://github.com/DmitryOlshansky/gchunt/releases

Updated to the latest compiler/libarires and also detects dup/idup
unreported by -vgc switch.


This is somewhat tangentially  related  to the announcement.. but how
does one run "-vgc" switch with "dub"?

Running dmd -vgc with a project with dependencies (eg: docopt) failed
because dmd could not find the dependencies.




Easiest way is to set the DFLAGS environment variable
(e.g. on Posix systems: DFLAGS="-g -vgc" dub run).


Re: gchunt v0.2.0

2016-04-05 Thread jmh530 via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 19:15:04 UTC, Pradeep Gowda wrote:


This is somewhat tangentially  related  to the announcement.. 
but how does one run "-vgc" switch with "dub"?


Running dmd -vgc with a project with dependencies (eg: docopt) 
failed because dmd could not find the dependencies.


Try:
"dflags-dmd": ["-vgc"],

You could also make a separate configuration with this line in it 
so that you don't have to constantly be adding and removing it.


Re: gchunt v0.2.0

2016-04-05 Thread Pradeep Gowda via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 18:47:38 UTC, Dmitry Olshansky wrote:
New release of a tool that generates nice summary reports for 
static analysis of GC usage. It's a simple postprocessor for 
the compiler's -vgc output.


https://github.com/DmitryOlshansky/gchunt/releases

Updated to the latest compiler/libarires and also detects 
dup/idup unreported by -vgc switch.


This is somewhat tangentially  related  to the announcement.. but 
how does one run "-vgc" switch with "dub"?


Running dmd -vgc with a project with dependencies (eg: docopt) 
failed because dmd could not find the dependencies.