7.8.1, template haskell, and dynamic libraries
Michael Snoyman
michael at snoyman.com
Sun Feb 9 08:35:53 UTC 2014
On Sun, Feb 9, 2014 at 10:30 AM, harry <voldermort at hotmail.com> wrote:
> Carter Schonwald wrote
> > Yes. (And thence ghc itself is then invoked with dynamic or dynamic-too)
> >
> >> The docs for 7.8.1 say "Template Haskell must now load dynamic object
> >> files,
> >> not static ones". Does this mean that, if I'm using Template Haskell,
> >> every
> >> package which the templates depend on have to be built with
> >> --enable-shared?
>
> Perhaps there should be a clear warning about this? If I've understood
> correctly, anything using Template Haskell will break when upgrading to
> 7.8,
> until all the dependencies are reinstalled with --enable-shared.
>
>
>
When upgrading to a new version of GHC, you'll have to reinstall all of the
packages anyway. You can't simply use GHC 7.6 compiled packages with your
new GHC 7.8.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20140209/72cf8fba/attachment-0001.html>
More information about the Glasgow-haskell-users
mailing list