On Wednesday, 27 August 2014 at 02:16:37 UTC, Israel wrote:
On Wednesday, 27 August 2014 at 01:41:51 UTC, Messenger wrote:
Conjecture: your binary has its imports statically linked in, and your linker doesn't remove unused code (--gc-sections).

https://issues.dlang.org/show_bug.cgi?id=879

I see, thanks man. From what i understand is that this is a
"unintended" "feature" rather than a direct bug in order to make
my life easier?

I know that object files are stored in .a libraries but all this
seems too advanced for me to understand...

You could try using LDC. The latest version 0.14.0 already uses --gc-sections automatically. (But it is based on DMD 2.065, so you cannot (yet) use all of the newest features like @nogc that are in DMD 2.066.)

Reply via email to