
27 Oct
2010
27 Oct
'10
2:11 p.m.
Hi guys, I've made some tests with --enable-shared, and the good news is that it works great. The bad news is that Cabal doesn't honor the flag when building executables. Apparently, this is a known issue: http://hackage.haskell.org/trac/hackage/ticket/600 A work-around that has been suggested is to specify --ghc-opt=-dynamic for builds that contain executables, but this solution feels kind of hack'ish. On the other hand, shared linkage cuts down binary size a lot, which is good. How do you feel about this issue? Any preferences? Take care, Peter