
Ah, indeed it does! Then, more about GHC API:
"Shell: Shell: missing -B<dir> option"
I can't find any information of what this -B is, it is not in GHC sources or
anything helpful from google. I tried to add "-B../build" or similar to GHC
api DynFlags, no luck. I've only found "[ "-shared", "-Wl,-Bsymbolic" ]" in
compiler/main/DriverPipeline.hs
thanks,
-lyndon
2008/9/28 Austin Seipp
The atom sorting errors are fairly harmless it seems; you should still get an executable in the end (I was playing with the new API today too.)
Austin
Excerpts from humasect's message of Sun Sep 28 10:42:36 -0500 2008:
uh oh.. ~/Haskell/bin/ghc +RTS -N2 -RTS -hidir ../build/ -odir ../build/ -threaded -package ghc -main-is Shell --make Shell -DCALLCONV=ccall [4 of 4] Compiling Shell ( Shell.hs, ../build/Shell.o ) Linking Shell ... ld: atom sorting error for _ghczm6zi10zi0zi20080927_LibFFI_Czuffizutype_closure_tbl and _ghczm6zi10zi0zi20080927_LibFFI_Czuffizucif_closure_tbl in
/Users/humasect/Haskell/lib/ghc-6.10.0.20080927/ghc-6.10.0.20080927/libHSghc-6.1
0.0.20080927.a(LibFFI.o) ld: atom sorting error for _ghczm6zi10zi0zi20080927_LibFFI_Czuffizutype_closure_tbl and _ghczm6zi10zi0zi20080927_LibFFI_Czuffizucif_closure_tbl in
/Users/humasect/Haskell/lib/ghc-6.10.0.20080927/ghc-6.10.0.20080927/libHSghc-6.1
0.0.20080927.a(LibFFI.o)
When linking with new GHC api after converting this shell to use it ( http://hackage.haskell.org/trac/ghc/wiki/GhcApiStatus)
-lyndon
Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users