RE: [Haskell-cafe] hssfig: Unresolved symbols when importing a foreignlibrary: what is the preferred way of handling?

28 Jul
2005
28 Jul
'05
9:53 a.m.
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
7236
Age (days ago)
7236
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow