From: <cod...@go...> - 2009-09-27 10:12:26
|
Revision: 412 Author: wol...@gm... Date: Sun Sep 27 03:10:58 2009 Log: fix build instructions (issue #21) http://code.google.com/p/hoc/source/detail?r=412 Modified: /trunk/hoc/README.txt ======================================= --- /trunk/hoc/README.txt Tue Aug 11 13:37:27 2009 +++ /trunk/hoc/README.txt Sun Sep 27 03:10:58 2009 @@ -37,36 +37,35 @@ 1. Build the HOC library and the interface generator: - cabal configure - cabal build - cabal install + runhaskell Setup.hs configure + runhaskell Setup.hs build + sudo runhaskell Setup.hs install To run the unit tests, use: - cabal configure -fTests - cabal build + runhaskell Setup.hs configure -fTests + runhaskell Setup.hs build ./dist/build/hoc-test/hoc-test - cabal install + sudo runhaskell Setup.hs install 2. Create the bindings: cd Bindings - sh make-bindings-macos.sh + sudo sh make-bindings-macos.sh cd .. 3. Build the hoc-wrap tool: cd Tools - cabal configure - cabal build - cabal install + runhaskell Setup.hs configure + runhaskell Setup.hs build + sudo runhaskell Setup.hs install cd .. -Depending on your setup, you will need to add "sudo" in front of the -"cabal install" commands and in front of the make-bindings command. -You can also add additional Cabal configure options after "cabal configure" -and after "sh make-bindings-macos.sh". +Depending on your setup, you might be able to leae out the "sudo". +You can also add additional Cabal configure options after "configure" +commands, and after "sh make-bindings-macos.sh" (like, e.g. --user). Authors ======= |