
4 Oct
2013
4 Oct
'13
6:35 p.m.
Hi all, Is it possible to have a Haskell package that only includes a dynamic library and .dyn_hi files? I.e. it would omit the .o and .a files? I tried building a library using cabal and --enable-shared. It still includes the .o and .a files. Will builds with "-dynamic" and loading modules in ghci work correctly if I just delete the .o and .a files? I did a few experiments and it seems to work OK, although it seems that things break if I delete the .hi files, even though I'd expect only the .dyn_hi files would be used. -Andi