Are we talking about Haskell or linking/ calling c plus plus? If the latter, that’s more of a cabal issue I think?
If you mean ghc build wise
No. The unwind library only supports elf format. Which OS X does not use.
Even that issue aside : ghc currently can’t build with any level of dwarf enabled on OS X, eg the system linker complains about exceeding some system section object format limit.
I guess my point is : dwarf data for Haskell libraries on OS X have a few challenges between here and there.