How to produce a statically linked binary with GHC?
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Fri Aug 15 01:06:08 EDT 2008
On 2008 Aug 15, at 1:02, Nicola Squartini wrote:
> I did the following in my project and this is what I get:
>
> $> runhaskell Setup configure --user --ghc-option="-optl -static"
No space between "-optl" and "-static". The "-pthread" is probably
being misrecognized as a result of the generated command.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20080815/51b7a545/attachment.htm
More information about the Glasgow-haskell-users
mailing list