Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6047573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:21:57+00:00 2026-05-23T07:21:57+00:00

If a friend wants to run my Haskell binaries, does he have to first

  • 0

If a friend wants to run my Haskell binaries, does he have to first install Haskell, or can he immediately run the binary by itself?

Is the answer the same on Mac, Windows, and Linux?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:21:58+00:00Added an answer on May 23, 2026 at 7:21 am

    GHC does produce stand-alone binaries that do not require GHC itself to be installed, however they do link against some dynamic libraries, most notably libgmp. The remaining libraries are commonly found out of the box on most Linux systems. I believe the situation is similar on Windows.

    You can check which dynamic libraries you depend on using ldd on Linux. Here’s what I get on Ubuntu Natty for a simple Hello World program:

    $ echo 'main = putStrLn "Hello World"' > Hello.hs                                                   
    $ ghc --make Hello.hs                                                                     
    [1 of 1] Compiling Main             ( Hello.hs, Hello.o )
    Linking Hello ...
    $ ldd Hello                                                                                
        linux-vdso.so.1 =>  (0x00007fffe45ff000)
        libgmp.so.3 => /usr/lib/libgmp.so.3 (0x00007f8874cf9000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8874a74000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f887486b000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8874667000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f88742d3000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f88740b4000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f8874f7a000)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

One of my friend wants to have a website which calculates the distance between
I have a friend that wants to incrementally move data from one db to
A friend wants to start a dating website, she wants me to help her.
I develop code using .net, and sometimes using ruby. My friend wants me to
I've created a site for an artist friend of mine, and she wants the
I'm having a blog-project on GibHub, where a friend of mine, wants to base
Me and my friend want to work on a code together at the same
A friend sent me his threading class. Now I just want to run a
I have an server (available via ssh) on the internet that my friend and
I have a friend who's going to jail, for about a year. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.