Compile without GC support

Daniel Keep daniel.keep+lists at gmail.com
Sat Dec 9 22:31:43 PST 2006


Heinz wrote:
> Hi, i'm a D newbie. I want to know how to compile an exe and a dll
> without garbage collector. I never add code related to the GC but
> when i compile my programs, Does the GC get included in my
> resulting compilation, making mi file bigger?
> 
> Thanx.

Currently, there's no way to do this since the GC is part of the 
standard library, which always gets linked in.

You might want to take a look at Ares, which seperates the standard 
library and GC, from what I remember.

	-- Daniel



More information about the Digitalmars-d-learn mailing list