Re: [Haskell-cafe] Tell cabal-install to generate only shared libraries

2011-11-03 Thread Ivan Perez
You are absolutely right, they do not seem to play along very well. Here's what I tried: $ cabal install --disable-library-vanilla --enable-shared ranges Resolving dependencies... Configuring ranges-0.2.4... Preprocessing library ranges-0.2.4... Building ranges-0.2.4... [1 of 1] Compiling Data.Ran

Re: [Haskell-cafe] Tell cabal-install to generate only shared libraries

2011-11-02 Thread Yves Parès
Apparently, disabling library vanilla causes GHC not to generate the ".hi" files : For instance when 'cabal install quickcheck --disable-library-vanilla': Registering QuickCheck-2.4.1.1... cabal: QuickCheck-2.4.1.1: file Test/QuickCheck/All.hi is missing (use --force to override) QuickCheck-2.4.1.

[Haskell-cafe] Tell cabal-install to generate only shared libraries

2011-11-02 Thread Yves Parès
Hello, When I tell cabal-install to build shared libraries (with "Shared: True" in .cabal/config), it doubles the libraries installation time since it compiles them twice, since it seems that is what GHC's flag "-shared" does. Is there a way to generate only the .so and not the the .a libs? Furth