On Wed, Dec 18, 2013 at 4:08 AM, harry <volderm...@hotmail.com> wrote:

> The documentation for --split-objs states that "this only makes sense for
> libraries". How is an executable compiled against a split-objs library?
> According to
> https://github.com/haskell/cabal/issues/1611#issuecomment-30750655, this
> isn't happening by default.
>

I don't understand the question. Whether a library is split-objs or not
does not affect how you link an executable, only the space/time efficiency
trade-off of doing so. And while in theory you might see improvements by
split-objs-ing an executable, it doesn't make a whole lot of sense to
include dead code in an executable in the first place (whereas
functionality of a library that you aren't using is dead for *your* use but
not for other consumers of the library).

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to