[Haskell-cafe] ghc - force library search order
jvlask at hotmail.com
Fri May 29 04:08:18 EDT 2009
I need to force a library to be searched for unresolved symbols after all
other libraries have been searched, and I would rather not resort to
constructing the linker command line directly. Is there a way to do this?
i.e. I want for example -lfoo to appear after all other haskell libraries
and before system libraries (for example -lmsvcrt) once ghc has constructed
the link command. i.e. how is it possible to coerce ghc into respecting
dependencies between the libraries. GHC does a good job in general with
native libraries, but there are allways corner cases.
I have a feeling this is not possible, but it dosn't hurt to ask.
More information about the Haskell-Cafe