[Haskell-beginners] Distributing executables

Magnus Therning magnus at therning.org
Tue Sep 29 04:15:11 EDT 2009


On Tue, Sep 29, 2009 at 7:36 AM, Alp Mestan <alp at mestan.fr> wrote:
> On Tue, Sep 29, 2009 at 7:43 AM, Magnus Therning <magnus at therning.org>
> wrote:
>>
>> What OS is it for?  (I'm inclined to believe it's windows, but I can't be
>> sure.)
>>
>> In either case, why distribute it as a _completely_ statically linked
>> executable, wouldn't putting together an installer just as good?
>
> It would. But actually, while going to work, I was wondering if a sort of
> Haskell application deployer would be a good idea ?
> It'd package Haskell apps with the necessary dynamic libraries, etc,
> depending on the target system of course, just like NSIS or so does. Except
> if nobody can't find a good reason not to use tools like NSIS which are
> already portable IIRC.

It could be a good extension to Cabal (not the tool), currently
there's the target 'sdist', maybe add a target 'wininst'.  Similar to
how Python's distutils have targets for MSI and Windows installers.

/M

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe


More information about the Beginners mailing list