LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Could MinGW create stand-alone application without any dll required to install ? (https://www.linuxquestions.org/questions/programming-9/could-mingw-create-stand-alone-application-without-any-dll-required-to-install-729994/)

Kunsheng 06-01-2009 07:53 PM

Could MinGW create stand-alone application without any dll required to install ?
 
Hello everyone,

I have a linux program that needs library TIDY, Libcurl and PCRE. It works pretty good under Linux.

Could MinGW create a stand-alone program without any require dll to be installed.

I checked some guidance for those libraries with MinGW, they seem to teach you how to distribute some dlls first, which is not what I want.


Any idea is well appreciated,


Thanks,

-Kunsheng


PS:


I am thinking of porting it to windows as a stand-alone program, I tried Cygwin before but it required cygwin.dll to be installed,

Also I tried to compiled those things in Visual Studio 2005, it worked but still require some dlls to be distribured first.

kellinwood 06-01-2009 09:54 PM

MingW doesn't require a run-time DLL like Cygwin, but the benifit of cygwin.dll is that it provides portablity that is missing from the MingW environment. It might be some trouble to find versions of TIDY, Libcurl and PCRE which will compile against the Windows API only. But assuming you get around that obstacle, if you statically link the libraries, you'll have a stand-alone executable.


All times are GMT -5. The time now is 05:56 AM.