Maybe we should experiment with it a bit more seriously.   With cabal 1.18 it's super easy to tell ghc to call an external program for the cpp pass. And that's our current source of problems.  <span></span><br><br>
On Monday, November 4, 2013, Malcolm Wallace  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">AFAIK, it is solely the (L)GPL licence issue.  GHC central preferred to use/distribute the GPL'd gcc compiler rather than the GPL'd cpphs preprocessor.  (No, it made no sense to me either.)<br>

<br>
Regards,<br>
    Malcolm<br>
<br>
<br>
On 4 Nov 2013, at 09:40, Herbert Valerio Riedel wrote:<br>
<br>
> Hello Malcolm,<br>
><br>
> On 2013-11-04 at 10:28:27 +0100, Malcolm Wallace wrote:<br>
>> Of course, cpphs solved this problem nearly a decade ago.<br>
><br>
> Btw, what has been the reason it hasn't been adopted as bundled `cpp`<br>
> replacement in the GHC distribution in the past? (if it remains a<br>
> separate executable, its GPL licence shouldn't be an issue -- after all,<br>
> ghc relies on the gcc executable which is GPL'ed too)<br>
><br>
> cheers,<br>
>  hvr<br>
> _______________________________________________<br>
> ghc-devs mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'ghc-devs@haskell.org')">ghc-devs@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'ghc-devs@haskell.org')">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
</blockquote>