Re: [Haskell-cafe] Binaries using shared libraries with cabal-install

2010-03-15 Thread Yuras Shumovich
Hi, As I know it doesn't work for executables, see http://hackage.haskell.org/trac/hackage/ticket/600 2010/3/15 Mathijs Kwik : > Hi all, > > I'm using cabal-install 0.8.0 on ghc 6.12.1 on linux > I switched on shared library support on cabal. > > Does this enable -dynamic and -fPIC during compilat

[Haskell-cafe] Binaries using shared libraries with cabal-install

2010-03-15 Thread Mathijs Kwik
Hi all, I'm using cabal-install 0.8.0 on ghc 6.12.1 on linux I switched on shared library support on cabal. Does this enable -dynamic and -fPIC during compilation and -dynamic -shared during linking? Or does it work a little differently? I noticed everything works for libraries. .so files get cr