gdc: statically built in libphobos library makes dynamic binaries big
Hi, gcc maintainers,
thanks a lot for doing a debian package for gdc [ d compiler ].
today i found out that the main libgphobos library is built into
every compiled program which makes even the smallest "hello
world" printing program ~150kb big at my i386 computer because libphobos is
statically built into the compiled program.
d is very beautiful [ IMO ] but it's a pity to always have
big dynamically compiled programs that way.
i found this link how to dynamically have a libgphobos
library:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=43626
Perhaps this could be adapted for the debian gdc package or
as an option for a specific debian package for gdc?
greetings and thx a lot for the debian
package,
Maddi
PS: tested with debian unstable
Reply to: