
On Mon, Oct 21, 2013 at 1:51 PM, Kees Bleijenberg < k.bleijenberg@lijbrandt.nl> wrote:
I understand the problem. I’ve set the GHCRTS environment variable and when I run the program I get : <unknown>: Most RTS options are disabled. Link with –rtsopts to enable them. ****
Then I added rtsopts to the command line: ghc -shared -rtsopts -O2 -o TBGlas.dll TBGlasDll.hs****
and I get the same errormessage again: Most RTS options are…… What is the problem?
Exact same issue. Those cannot be per DLL, they apply to the final program (what would it mean for only some DLLs to allow RTS options? There's only one runtime!); and you'd probably have to use the same mechanism I pointed at before if you're invoking hs_main() from C instead of using a Haskell main function. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net