[Haskell-cafe] creating standalone executable with haskell

Bram Neijt bneijt at gmail.com
Tue Mar 5 12:29:30 UTC 2019


For binaries there is the concept of a static binary that does not require
any libraries. It is bound to the kernel ABI, but you could try that
approach:

https://www.fpcomplete.com/blog/2016/10/static-compilation-with-stack

Good luck,

Bram

(Now also on the list)

On Tue, 5 Mar 2019, 11:42 Damien Mattei <damien.mattei at gmail.com> wrote:

> i want to run Haskell code on a system i'm not administrator???
> if i compile my haskell program rather than use interpreter (i never
> compile it) can i run the executable on another Linux platform which has
> nothing of haskell installed on it ( no runtime library,etc...) ?
> i already did that with Racket Scheme could it be done with GHC compiler
> or should i ask  the system admin to install haskell platform?
> regards,
> damien
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20190305/542c425b/attachment.html>


More information about the Haskell-Cafe mailing list