Thursday 15 April 2010

haskell - Including other *.o files with Cabal -



haskell - Including other *.o files with Cabal -

i'm building simple library wraps parts of qt. want able utilize qt's qmake configuration scheme find qt libraries on given system, etc, build c wrapper code. can work , produce *.o file, no problem.

but how can cabal include *.o file in *.a generates? assume i'll have write custom setup.hs create work, reading on cabal library documentation don't see obvious way it.

on #haskell suggested utilize postbuild add together files *.a after generated, how path generated *.a within postbuild?

haskell cabal

No comments:

Post a Comment