Creating a static library
Mike Brown
mikey.be at gmail.com
Fri Jun 11 10:40:27 UTC 2021
Hi all,
My goal is to modularise my code better.
I think I'd like to make a static library, this will primarily to
be used in other D projects.
https://dlang.org/articles/dll-linux.html mentions the GC and
linking requirements. I am happy to not use the GC for this
library, what is the best way to turn this off for the entire
library?
I would like to be able to select a library at link time,
libraries with the same interface but different implemenations -
to build different versions of my project (e.g. Windows, Linux
etc).
It would be useful to understand how in D the best way to this?
Is there a good tutorial or information on the above?
Kind regards,
Mike
More information about the Digitalmars-d-learn
mailing list