Faster linker

Neia Neutuladh neia at ikeran.org
Fri Nov 9 01:13:49 UTC 2018


On Fri, 09 Nov 2018 01:04:51 +0000, bennygui wrote:
> Is there any way to get faster link time? I'm on Linux (Gentoo).

Use dynamic libraries.

Dub doesn't currently support them. Fortunately, the main project I've had 
to do this with is gtkd, which has no dependencies. The hack I used was:

* use git submodules instead of dub for the dependency
* update the dub script for gtkd to build dynamic libraries
* tell dub to use gtkd's library artifacts manually
* tell dub about the gtkd import paths manually


More information about the Digitalmars-d mailing list