I figured it out!
theres a mini configure.ac generated by distrib/configure.ac.in thats used
to setup the ghc settings file at install time!
https://github.com/cartazio/ghc/tree/cpp_silly-contrib-configure-in is my
current set of patches, though it needs some rebasing, cleanup, and code
review et
Dear Austin, Richard,
Thank you for your help!
I updated my example and as far as I can see everything is working as
expected now with the compiler build from the git repository.
Best,
Maarten
On 27/03/14 16:39, Austin Seipp wrote:
Template Haskell is certainly included in the 7.6.3 sourc
Template Haskell is certainly included in the 7.6.3 source
distribution - but I'm afraid off hand, I couldn't tell you why it
doesn't seem to be picked up by your compilation.
FWIW, if you want a change merged upstream, it's encouraged you use
GHC from git and make the change there (because there
Dear Richard,
I tried rebuilding a fresh source distribution which has the same
problem. I simply don't think template-haskell is included in the source
distribution.
I also tried building ghc from the git repository. This time I had (a
little bit) more success: ghc builds and has template-h
I am not the most experienced ghc developer, but I ran "configure
--prefix=$HOME/ghcinst", then eventually I ran "make" and "make install",
and put $HOME/ghcinst/bin on my PATH.
Hope this helps
-Ken
-Ken
On Thu, Mar 27, 2014 at 8:04 AM, Richard Eisenberg wrote:
> Ah -- I understand better now
Ah -- I understand better now. I'm afraid I've never worked with the source
distribution, so I don't have further advice about that. It seems odd, though,
that changing rts code would cause problems with wired-in packages. Have you
tried just building without any edits and then putting your edit
Dear Richard, GHC-devs,
Thank you for your reply.
I am using the 7.6.3 source distribution. According to
https://ghc.haskell.org/trac/ghc/wiki/Building/QuickStart "perl boot" is
not necessary for source distributions. I did give it a try however
(repeating step 3 and 4 afterwards), but it did
Did you `./sync-all get`? Did you `perl boot`? You may want to check out the
"Building GHC" section of https://ghc.haskell.org/trac/ghc/wiki/Building to
make sure you've followed all the steps.
I hope this helps,
Richard
On Mar 27, 2014, at 6:27 AM, Maarten Faddegon
wrote:
> Dear GHC-devs,
>
Dear GHC-devs,
I want to experiment with the RTS of GHC but the compiler I built has
problems finding some wired-in packages. How can I include these?
This is what I did:
* Download ghc-7.6.3 sources.
* Make some changes in rts/
* ./configure && make
* inplace/bin/ghc-stage2 --make my_example