Running an application, compiled in cygwin, without having cygwin installed

后端 未结 4 1987
旧巷少年郎
旧巷少年郎 2021-02-18 16:21

Let\'s say I have an application which I compiled under cygwin, and I want to distribute that application without having the user to install cygwin. Would it be enough to packag

4条回答
  •  北恋
    北恋 (楼主)
    2021-02-18 16:54

    You could try to compile everything as static. That should allow you to run everything without the need of the the libs (since they are already in your binary). But this will also mean that it might not work an all platforms if cygwin would need a different or newer dll.

提交回复
热议问题