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@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.