Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-17-2009, 04:31 PM   #1
Registered: Mar 2009
Posts: 82

Rep: Reputation: 16
Could I get rid of Cygwin.dll/Cygwin1.dll in program compiled under Cygwin ?

Hello everyone,

I have a program that is completed under Linux, it requires library tidy, PCRE and libcurl, which could be found in Cygwin too.

I could compile my linux program through Cygwin and produce an EXE file, however it do require 'cygwin.dll' installed by the users.

I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin ? ( I don't mind to combine that cygwin.dll and the EXE together for a larger EXE file).

Is it possible to do that?


Old 05-17-2009, 09:30 PM   #2
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Originally Posted by Kunsheng View Post
I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin?
You will have to travel the long and weary path of using MinGW to build the libraries you need as static libraries.

I have followed the twisted maze of library dependencies before when I built xchat for Windows directly from the source.

Good luck in your quest.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shadowbane under wine is not working UBUNTU says needs dll but the dll is there ? zonemikel Linux - Games 2 04-13-2009 11:30 AM
cygwin-6.dll was not found scbops General 1 04-11-2006 04:36 PM
cygexpat-0.dll problems in cygwin aneeshm Linux - General 1 05-13-2005 09:03 AM
How does VC link a dll created by cygwin? chuanyung Programming 1 02-25-2004 01:06 PM
Link DLL with C code on Win32 (CygWin) jpbarto Programming 4 10-23-2003 03:30 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration