On 7/4/05, Evgeny Chukreev <[EMAIL PROTECTED]> wrote:
> On Wed, 29 Jun 2005 22:05:49 +0400
>     /Evgeny/ /Chukreev/ <[EMAIL PROTECTED]> wrote me:
> 
> EC> gcc src/Codec/Mhash_stub.c -o ...
> EC> /usr/bin/ar qv dist/build/libHSHMhash-0.1.a dist/build/src/Codec/Mhash.o
> EC> /usr/bin/ar: creating dist/build/libHSHMhash-0.1.a
> EC> a - dist/build/src/Codec/Mhash.o
> (why mhash_stub.o did not archived?)
> 
> Does no answer to my question mean that there is no-one who knows what kind 
> of bug
> it is (ghc/cabal/mine) or it is the fact that nobody cares (even the
> developers of ghc/cabal)?
> 
> Without answer I can't continue developing that wrapper for mhash library.

The problem lies in GHC.
$fptools/ghc/compiler/main/DriverPipeline.hs:514 to be exact.
You can link 'dist/build/WrapperMod.o' to
'dist/build/Your/Hierarchy/WrapperMod.o' as a dirty fix.  Perhaps
copying it after builds with a Cabal hook would be cleaner.

-- 
Friendly,
  Lemmih
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to