dmd out of memory compiling vibed project

Guillaume guillaume at spam.spam
Thu May 23 11:06:43 UTC 2019


On Thursday, 23 May 2019 at 01:17:26 UTC, Nicholas Wilson wrote:
> On Thursday, 23 May 2019 at 00:26:03 UTC, Guillaume wrote:
>> I don't know how to add a "-lowmem" switch to those 
>> compiler... but I suspect it would not change anything.
>
> If you're using a dub.sdl:
>
> dflags "-lowmem"
>
> dub.json:
>
> {
>    ...
>     "dflags" : ["-lowmem"]
> }
>
> The compiler directly:
>
> dmd -lowmem [rest of args...]
>
> See dflags under Build settings in 
> https://dub.pm/package-format-sdl 
> https://dub.pm/package-format-json.html

Still no luck.

Anybody has a decent build system as easy as dub but that doesn't 
recompile everything? Or everybody rolls their own?

Guillaume




More information about the Digitalmars-d mailing list