tensor5: > It seems that the -static flag serves a different purpose: according to > the GHC manual it forces the compiler use the static Haskell libraries, > but the resulting binary is still dynamically linked to the C libraries. > What is the correct flag to create a static binary? Thanks Pass -optl-static to GHC. -- Don