I've been using ghc-iphone successfully by calling
/
opt/iphone/ghc-6.10.4-iphone $(SOURCES) -o mylibfrom a makefile enabled in a custom target in XCode and adding "libmylib.a" into the project. However I recently imported Data.Sequence into the Haskell modules and now I get some build errors during linking:
"_containerszm0zi2zi0zi1_DataziSequence_singleton_closure", referenced from:
_FuncModel_deriveLR_srt in liblhsci.a(FuncModel.o)
_containerszm0zi2zi0zi1_DataziSequence_singleton_closure$non_lazy_ptr in liblhsci.a(FuncModel.o)
(maybe you meant: _containerszm0zi2zi0zi1_DataziSequence_singleton_closure$non_lazy_ptr)
I had simliar link issues using the method described in the documentation so I went with the direct executable ghc-6.10.4, and I fear this approach has finally been compromised.
I was just wondering if anyone else has come across the problem or has a suggestion to get those symbol names to match up correctly. I'm still using XCode 3.2.5 with gcc.
Let me know if I can provide any more info or if there is anything I can read up on to better understand what's happening.
Thanks,
Thomas