
1 Jul
2006
1 Jul
'06
5:25 p.m.
Please disregard the question. There's an opportunity to statically link the library at an earlier build step. There seems to be no way to link in static libraries when using ghc --make as the dynamic linker (ghci) is being used. On Jul 1, 2006, at 3:08 PM, Joel Reymont wrote:
Folks,
I'm trying to compile the Haskell Objective-C Binding (HOC) and it needs /usr/lib/libSystemStubs.a to find the missing _fprintf $LDBLStub symbol.
I tried the following in the make file
FOUNDATION_LIBS=-static -lSystemStubs -l dynamic -framework Foundation
but ghc still tries to link libSystemStubs.a dynamically. How do I fix this?