cabal directory structure under /libraries/ for a lib that uses Rts.h

Edward Z. Yang ezyang at mit.edu
Wed Oct 1 07:20:10 UTC 2014


Well, which library should it be part of? Add it to the exposed-modules
list there and it should get compiled.

Edward

Excerpts from Ömer Sinan Ağacan's message of 2014-09-30 22:54:52 -0700:
> Hi all,
> 
> I'm trying to implement https://ghc.haskell.org/trac/ghc/ticket/5364 ,
> I did the coding part but I'm having trouble compiling it/adding it as
> a part of GHC libraries.
> 
> My library is just one hsc file with a line `#include "Rts.h"` in it.
> Any ideas what should I do to make it compiled with GHC?
> 
> Thanks..
> 
> ---
> Ömer Sinan Ağacan
> http://osa1.net


More information about the ghc-devs mailing list