#5373: -rtsopts is not respected with -dynamic on Windows
---------------------------------+------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.4.1
Component: Compiler | Version: 7.0.4
Keywords: | Testcase: T5373
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonmar):
A solution probably exists along these lines: in the C file we generate at
link time, also generate the C `main` function, which is currently:
{{{
int main(int argc, char *argv[])
{
return hs_main(argc, argv, &ZCMain_main_closure);
}
}}}
but we could change the API of `hs_main` to take the RtsOptsEnabled flag
(or use some other way of passing that flag to the RTS).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5373#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs