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

Alfredo Di Napoli alfredo.dinapoli at gmail.com
Sun Oct 20 15:50:21 UTC 2013


Hi Roman,

strangely enough, now that I've recompiled the program cabal does pass the
correct flag and everything works as expected.
Which kinda surprise me. The only explanation I have is that I've modified
the source code, so cabal was forced to recompile everything with the new
flags.

Thanks,
A.


On 20 October 2013 16:40, Roman Cheplyaka <roma at ro-che.info> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131020/7fd3e3e1/attachment.html>


More information about the Haskell-Cafe mailing list