#4022: GHC Bindist is Broken on FreeBSD/amd64
--------------------------------------------+-------------------------------
Reporter: pgj | Owner: igloo
Type: bug | Status: patch
Priority: normal | Milestone: 6.12.3
Component: libraries (other) | Version: 6.13
Keywords: GMP,integer-gmp, sharedlibs | Difficulty:
Os: FreeBSD | Testcase:
Architecture: x86_64 (amd64) | Failure: Building GHC failed
--------------------------------------------+-------------------------------
Comment(by pgj):
Replying to [comment:15 simonmar]:
> It is necessary for platforms that don't provide a GMP library, e.g.
Windows, Solaris(?), so we have to keep it.
As far as I concerned, GNU MP is
[http://sourceforge.net/projects/mingw/files/ part] of the recent MSYS
(mingw) distribution you (theoretically) use for building GHC on Windows.
GNU MP has been also
[http://www.sunfreeware.com/programlistsparc10.html#gmp ported] to
Solaris, however Solaris has its own MP library (though I do not know
whether it supports bignums). Even Microsoft .NET has its
[http://www.emilstefanov.net/Projects/GnuMpDotNet/own wrapper] for GNU MP.
GCC (4.3+) also [http://gcc.gnu.org/gcc-4.3/changes.html#mpfropts
requires] GNU MP (transparently via MPFR) to compile.
Simon, please do not get me wrong: I am happy with that in-tree GMP (and I
also would be happy to fix it up), but I have the intuition that GNU MP
can be taken available on any platform where GHC might be compiled (due to
its UNIX-ish nature -- at least I have not seen my {{{.vcsproj}}} and
{{{.sln}}} files appearing in the repository :P).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4022#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs