
21 May
2004
21 May
'04
1:40 p.m.
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
7717
Age (days ago)
7717
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow