Re: Linking stage 2 compiler with non-threaded RTS using Make?

2020-01-09 Thread Brandon Allbery
There are some hidden dependencies, in particular ghci requires GhcThreaded
last I checked (and ghci == ghc --interactive, not a separate program that
could be linked threaded). You may also have to disable the entire bytecode
backend, which would take TH and runghc with it as well as ghci.

On Thu, Jan 9, 2020 at 8:02 AM Ömer Sinan Ağacan 
wrote:

> Anyone know how to link stage 2 with non-threaded RTS using Make build
> system?
> There's a variable GhcThreaded, but setting it "NO" makes no difference,
> stage 2
> compiler is still threaded.
>
> So far the only way I could find is to redirect build system output to a
> file,
> find the step that linked ghc-stage2, repeat that command but without
> -threaded.
> It's really painful as I have to repeat this step after every rebuild.
>
> Any tips?
>
> Thanks,
>
> Ömer
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>


-- 
brandon s allbery kf8nh
allber...@gmail.com
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Linking stage 2 compiler with non-threaded RTS using Make?

2020-01-09 Thread Ömer Sinan Ağacan
Anyone know how to link stage 2 with non-threaded RTS using Make build system?
There's a variable GhcThreaded, but setting it "NO" makes no difference, stage 2
compiler is still threaded.

So far the only way I could find is to redirect build system output to a file,
find the step that linked ghc-stage2, repeat that command but without -threaded.
It's really painful as I have to repeat this step after every rebuild.

Any tips?

Thanks,

Ömer
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Extension.hs ForallXXX constraints

2020-01-09 Thread Richard Eisenberg
Somehow, I remember this conversation coming up recently, and I thought it was 
decided to remove these. Indeed, I'm surprised they're still around. Strike 
them down!

Thanks,
Richard

> On Jan 8, 2020, at 10:38 PM, Alan & Kim Zimmerman  wrote:
> 
> I have got back into some GHC dev, and noticed that the various ForallXXX 
> type synonyms in Extension.hs are unused in GHC.
> 
> In the early iteration, they were needed, but it seems not any more.
> 
> Is there any reason they should not be removed?
> 
> Alan
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs