Again, ask help with Dlang program footprint
dangbinghoo
dangbinghoo at gmail.com
Sat Apr 9 02:56:50 UTC 2022
On Saturday, 9 April 2022 at 02:19:52 UTC, dangbinghoo wrote:
> On Friday, 8 April 2022 at 03:26:29 UTC, dangbinghoo wrote:
>> On Friday, 8 April 2022 at 03:20:29 UTC, dangbinghoo wrote:
>>> [...]
>>
>> PS: I need the program link Phobos statically, don't want to
>> use .so except the basic C library. so I added option
>> `-link-defaultlib-shared=false` in dub.json by default, this
>> should not be changed.
>
> hi, please help with this, can we reduce the footprint?
>
> thanks!
OK, I just put on another git repo, which is the simpley
helloworld in D, and it
generates 849KB for print a single line!
https://github.com/dangbinghoo/hello_world_d
so, maybe there's something wrong with D compiling?
thanks!
More information about the Digitalmars-d-learn
mailing list