[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gdc: statically built in libphobos library makes dynamic binaries big



Hello Maddi,

2007/9/21, Matthias 'Maddi' Kopfermann <matthias@kopfermann.org>:
> 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.

Right, this is a problem and I've already contacted upstream about
make libgphobos a shared lib.

> 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?

I'm going to try this and see, thanks.


Arthur.



Reply to: