Building GHC head with clang on Mavericks
Carter Schonwald
carter.schonwald at gmail.com
Tue Nov 19 22:17:09 UTC 2013
so what are you proposing? Are you agreeing that those patches work with
clang wrapper, but also remarking that its unfortunate that such a hack is
needed?
On Tue, Nov 19, 2013 at 4:52 PM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
> > So did you find a bug in the current design of the clang-wrapper hack?
>
> No. What I found is that the current design of the clang-wrapper hack
> is appropriate.
>
> "-x assembler-with-cpp" is necessary to rescue
> ----
> {-# RULE whatever
> #-}
> ---
>
> > If so it'd be better to get it fixed there rather than in the
> > Alex/happy setup HS files.
>
> If we can do this, it's very good. But this is not good enough.
> happy/alex hack are also necessary to not generate
> ----
> # 1 "<built-inxxx>" 1
>
> # 1 "templates/GenericTemplatexxx.hs" 2
> ----
>
> --Kazu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131119/a2673a70/attachment.html>
More information about the ghc-devs
mailing list