Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added remark about linking with the C++ compiler

  • Loading branch information...
commit c240df4b1ee8e9b212f59627d21b5e2dea2eb6bb 1 parent 12f5886
@bjpop authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.txt
View
9 README.txt
@@ -4,6 +4,15 @@ Haskell-sprng, Haskell bindings to the SPRNG library
How to build
------------
+cabal install --extra-lib-dirs=/path/to/lib/ --extra-include-dirs=/path/to/include/
+
+Note: when you use the Haskell-SPRNG library in your own Haskell program you must
+link it with the same C++ compiler that was used to build the library.
+
+For example:
+
+ ghc --make -O2 Foo.hs -pgml /path/to/c++/compiler
+
Testing
-------

0 comments on commit c240df4

Please sign in to comment.
Something went wrong with that request. Please try again.