[Haskell-cafe] hssfig: Unresolved symbols when importing a
foreignlibrary: what is the preferred way of handling?
Simon Marlow
simonmar at microsoft.com
Thu Jul 28 09:53:38 EDT 2005
On 27 July 2005 15:32, Dimitry Golubovsky wrote:
> - instead of generation of a single object file referencing all the
> functions, create one per funciton import and place them all in an
> archive (.a). Then, when linking, only actually used functions will be
> picked from the archive.
This is what ghc -split-objs does. It's something of a hack, but I just
thought I'd mention it. I believe it would fix your problem.
Cheers,
Simon
More information about the Haskell-Cafe
mailing list