[Haskell-beginners] Q 2 of 2: GUI and turnkey compiler?
tim.v2.0 at gmail.com
Fri May 31 20:37:47 CEST 2013
GHC is a compiler.
Ensuring all the necessary libraries are installed is the work of an installer.
That said, it is *nice* when compilers will statically link your executable.
On May 31, 2013, at 9:30 AM, Giacomo Tesio <giacomo at tesio.it> wrote:
> I'm wondering why there's no tool that build an EXE that contains everything is needed. statically linking anything that is required... is there any problem with ghc here?
> On Fri, May 31, 2013 at 5:28 PM, emacstheviking <objitsu at gmail.com> wrote:
>> Whatever he said. All I know is that the last time I copied a binary across to another box it failed with a "missing libgmp.so" message! Beware!!
>> On 31 May 2013 15:13, Brandon Allbery <allbery.b at gmail.com> wrote:
>>> On Fri, May 31, 2013 at 9:03 AM, emacstheviking <objitsu at gmail.com> wrote:
>>>> I tried that too... but I think I fell foul to a missing library for the arbitrary length arithmetic. can't remember the name of it off-hand though.
>>> libgmp? I think there are ways to make that get statically linked as well, although various platforms (Debian derivatives, mostly) strongly discourage doing this, to the extent that they modify their packaged ghc to force a dependency on the system gmp library (and, somewhat ironically, are also the ones most prone to having no or an incompatible version installed at runtime).
>>> brandon s allbery kf8nh sine nomine associates
>>> allbery.b at gmail.com ballbery at sinenomine.net
>>> unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
>>> Beginners mailing list
>>> Beginners at haskell.org
>> Beginners mailing list
>> Beginners at haskell.org
> Beginners mailing list
> Beginners at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners