Hi,

I have spent a couple of hours this weekend trying to include an extra
boot library to GHC. My aim is to experiment with the LLVM FFI
bindings as code generator instead of the text representation.

Unfortunately I am stuck in the build process. I am able to build GHC
HEAD from git and I am able to build the LLVM FFI bindings. The
problem begins when the GHC's build process tries to build the LLVM
FFI bindings. I have separated the llvm-base library and put it into
the libraries directory of GHC, I have imported a module that is
exported from the llvm-base package, I have added llvm-base to the
files: 'compiler/ghc.cabal.in', 'packages' and 'ghc.mk'.

But I am stuck with the message:

make[1]: *** No rule to make target `cbits/extra.cpp', needed by
`libraries/llvm-base/dist-install/build/libHSllvm-base-3.0.1.0.a'.  Stop.

This is my first time hacking on GHC and the build process is new to
me.  My question is if I have forgotten something or if the problem is
in llvm-base.


/mattias
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to