On 21 May 2004 14:17, Jochen L. Leidner wrote:

> sorry for an urgent newbie question: how can I create a statically
> compiled version of a Haskell program on Linux with GHC that does not
> rely on external shared libs (also for any of its libraries it uses)?
> 
> I would like to build a binary that works on a 3-processor machine
> with an older Linux SMP kernel as well as RH9/FC2.

The GHC flag '-optl-static' is your friend.  Note that it is still
possible to end up with a binary that is kernel-version-dependent.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to