How do I add new dependencies and source files into the build
donnie at darthik.com
Sun Mar 22 12:24:17 EDT 2009
I believe you should edit compiler/ghc.cabal.in -- I believe this file
is the input for cabal and used to create the ghc.cabal which gets
re-created at ./configure.
Also, you may want to look into Ways (compiler/main/StaticFlags.hs and
mk/config.mk.in) if you plan on adding any compile-time (static)
Hope that helps.
On Sun, Mar 22, 2009 at 8:09 AM, Colin Paul Adams
<colin at colina.demon.co.uk> wrote:
> I have added a subdirectory named verify to the compiler directory,
> and made a change to simplCore to call functions from it.
> I have managed to get it to compile by editing ghc.cabal in the
> compiler directory (after some problems with cabal which are now
> sorted). But I think this is not the correct way to do it, as
> ./configure rebuilds this file, it seems.
> Where should I be doing this?
> Colin Adams
> Preston Lancashire
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
More information about the Glasgow-haskell-users