[Haskell-cafe] Is Cabal ignoring "-with-rtsopts"?

Roman Cheplyaka roma at ro-che.info
Sun Oct 20 15:40:54 UTC 2013


You could start by running cabal with -v and seeing if it passes the
right option to ghc during the linking phase.

Roman

* Alfredo Di Napoli <alfredo.dinapoli at gmail.com> [2013-10-20 15:27:54+0100]
> Hello guys,
> 
> I'm integrating EKG in my webserver and I've stumbled upon a peculiar
> behaviour: Putting this inside my cabal manifest seems to not trigger any
> effect (EKG shows flat lines):
> 
>     GHC-Options:
>         -Wall
>         -threaded
>         -Werror
>         -fwarn-tabs
>         -with-rtsopts=-T
> 
> Whereas, if I run my webserver with "blablabla [...] +RTS -T" everything
> works as expected. What am I missing?
> 
> I am on GHC 7.6.3, Cabal 1.18 and Mac OS X 64 bit.
> 
> Alfredo

> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131020/7b3e7530/attachment.sig>


More information about the Haskell-Cafe mailing list