On 22/04/2005, at 10:42 AM, Benjamin Franksen wrote:
I know that ghc cannot produce shared libraries on all systems, but what about
just linking existing ones (i.e. for ffi code)? Is there a secret command
line switch for that, or do I have to use the C linker? Is there an option in
cabal that I have been missing that could help me?
If I understand you correctly, all you have to do is pass the -lLibraryName flag on the GHC command-line, just as you would with gcc.
-- % Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/>
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users