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 1048643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:29:24+00:00 2026-05-16T16:29:24+00:00

I want to make a stand-alone exe with cygwin. I have two options: Staticly

  • 0

I want to make a stand-alone exe with cygwin. I have two options:

  1. Staticly link cygwin1.dll
    If I can statically link cygwin1.dll, then I can get a stand-alone exe.

  2. Merge cygwin1.dll with myprog.exe
    If I can merge cygwin1.dll with my program, the I can get a stand-alone exe.

Do not suggest that I use IlMerge. This will not work because I didn’t compile my program with .NET.

Are any of these options possible? If not, is there anything that is possible with this dilemma? Thanx!

  • 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-16T16:29:25+00:00Added an answer on May 16, 2026 at 4:29 pm

    I can see two possibilities that you might consider reasonable. One would be to build a stub executable with a different compiler (e.g., MinGW — whatever, just so it doesn’t need cygwin) to unpack the main executable and cygwin.dll into a temporary directory, and then spawn that executable. To distribute only a single executable, you’d want to add the main executable and cygwin.dll to the “stub” as binary resources. It’s a bit ugly, but pretty straightforward.

    The alternative would be to grab the source to cygwin, and build it as a static library. At least in theory, this should be cleaner — but it’s also undoubtedly more work. Getting it to build as purely static code instead of a DLL will almost certainly take some work, though it’s hard to even guess how much. Just browsing a bit, it’s seems pretty unlikely that it’s going to be a quick job of a couple hours, or anything like that (unless there’s something there that I missed that already supports building it statically, of course).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to make two block stand side by side. In Opera, Chrome and
I have link for example domain.com/de/controler/action?param=value and I want make actionlink to keep same
I want make interactive application where user launches it and can do various task
I have style sheet with a class name changebackgroundcolor i want make change in
i have the following situation, i have a Reporting layer(stand alone) in asp.net application(NOT
I want Flash to communicate directly with dll files. How can I do this?
I want to build application which servers as a stand-alone system service, always run
Suppose I have a library Common that may be used stand-alone, and is used
I've been making stand-alone Android apps for some time now, but I now want
I have a stand-alone application that I wrote before I became test-infected. Its a

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.