LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-01-2009, 07:53 PM   #1
Kunsheng
Member
 
Registered: Mar 2009
Posts: 82

Rep: Reputation: 16
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.
 
Old 06-01-2009, 09:54 PM   #2
kellinwood
Member
 
Registered: Jan 2006
Location: Culver City, California
Distribution: Fedora
Posts: 64

Rep: Reputation: 21
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.
 
  


Reply



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
Could I get rid of libcurl.dll and compile a stand-lone application with Curl? Kunsheng Programming 5 06-07-2009 06:34 PM
Help required with system tray application arun.tayal Programming 2 09-24-2008 10:58 PM
kylix stand alone application leosgb Programming 9 04-27-2005 12:45 PM
How to create .dll in linux like in windows to support client access? samples needed heather27j Linux - Software 1 11-16-2004 04:06 PM
Error: "A required .DLL file, CYGPCRE -0.DLL, was not found" when using man dipperdan Linux - Newbie 2 04-28-2004 03:55 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

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