Alfredo,
I've confirmed that I can use the stage1 compiler and it doesn't
panic.
It occurs to me that I might be able to *compile* my code with the
stage1 compiler while using the bootstrap compiler and Haskell
Language Server. I'll give that a shot.
Norman
> Hi Norman,
>
> in addition
> I suspect that the stages are getting mixed up here. Would it be
> possible to post a full reproducer?
I think so. I'm thinking a source tree for my client, plus step-by-step
instructions. Would that do the job?
Norman
___
ghc-devs mailing list
g
> in addition to what Ben already said: is there any particular reason you
> wanted to use the stage0 compiler?
Yes! I want to use the Haskell Language Server with my code. I am
given to understand that HLS does not work with GHC HEAD, so if I want
to use HLS with my own code, it needs to be
> Hi Norman,
>
> I think you are overcomplicating things quite a bit.
>
> 1. Build a HEAD (9.3) compiler
> 2. Setup a normal cabal project to depend on the `ghc` library
> 3. Use the cabal -w option to point to your HEAD compiler to build the
> project (`cabal build -w /path/to/head`)
>
Hi Norman,
I think you are overcomplicating things quite a bit.
1. Build a HEAD (9.3) compiler
2. Setup a normal cabal project to depend on the `ghc` library
3. Use the cabal -w option to point to your HEAD compiler to build the
project (`cabal build -w /path/to/head`)
That will work reliably ra
Hi Norman,
in addition to what Ben already said: is there any particular reason you
wanted to use the stage0 compiler? I have written a small program against
HEAD which used the GHC API fairly recently, and I have simply used the
`stage1` compiler. An excerpt from my little code snippet:
```
-- T
Norman Ramsey writes:
> I'm writing client code against the GHC API in HEAD (version 9.3),
> using 9.0.1 as my bootstrap compiler. To make it possible to build
> this code, I've set up cabal using
>
>cabal v1-configure \
> --package-db clear \
> --package-db $STAGE0/lib/package.c
I'm writing client code against the GHC API in HEAD (version 9.3),
using 9.0.1 as my bootstrap compiler. To make it possible to build
this code, I've set up cabal using
cabal v1-configure \
--package-db clear \
--package-db $STAGE0/lib/package.conf.d/ # stage0 libraries
In my