# Confusion about GHC and GMP

Greg Fitzgerald garious at gmail.com
Wed Feb 17 19:04:16 EST 2010

> I assume you mean
> in which case, yes.
>
>> I assume that "INTEGER_LIBRARY=integer-foo" is an option when
>> compiling GHC itself and not when using GHC, correct?
>
> Yes.

Great, thanks for your help Ian.  Building GHC with
"INTEGER_LIBRARY=integer-simple" is exactly what I was looking for.
So naturally though, I'd like to avoid maintaining an internal branch
of GHC.  Are there any plans to make integer-simple the default
integer library?

I was able to build GHC on Linux with no trouble. But on Windows, I go
down because (I think) the preprocessor is choking on ^M characters.

I get errors like this:
error: syntax error before ')' token
function `main':
error: syntax error before ';' token