Cannot build GHC without lbgmp.so dependency
I try to build GHC without libgmp.so dependency (so it should use integer-simple instead of).
I follow GHC compilation Wiki page, but additionally to it I create a file mk/build.mk
:
INTEGER_LIBRARY=integer-simple
BUILD_SPHINX_PDF=NO
BuildFlavour = quick
and then run all instructions from the Wiki page (this)
OS is: Linux OpenSUSE GHC: 9.2.5
After successful build I checked build/stage1/bin/ghc
binary:
$ ldd ghc
........
........
libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fd641297000)
libgmp.so.10 => /lib64/libgmp.so.10 (0x00007fd64075d000)
libc.so.6 => /lib64/libc.so.6 (0x00007fd640005000)
libm.so.6 => /lib64/libm.so.6 (0x00007fd63ff21000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd646f2f000)
and I see that it still depends on libgmp! How to build GHC without GNU MP dependency (with integer-simple instead of it) with stack, like in the Wiki? Is it a bug or building with stack does not support it?