X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <73d571720807171104r57c488b9q89e6dbebb6668b51@mail.gmail.com> Date: Thu, 17 Jul 2008 15:04:40 -0300 From: "Douglas Gemignani" To: cygwin AT cygwin DOT com Subject: Re: Build DLLs for windows In-Reply-To: <18559.31669.129214.932667@intel.local> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <73d571720807170717r1377e0f7l89a2f840147e3733 AT mail DOT gmail DOT com> <18559 DOT 31669 DOT 129214 DOT 932667 AT intel DOT local> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Yes, i already used the -mno-cygwin option using the cygwin gcc, but it produces a lot of errors when linking errors against a library (openssl), and if i use the mingw gcc, it can't find the library. Since i compiled that using the cygwin. There is a nice tutorial here http://www.delorie.com/howto/cygwin/mno-cygwin-howto.html I still have issues building a .dll as output, as well it's .def file, i don't know if the gcc can produce that, or if I have to use an external tool for generating those. As far as I understand, using the mingw gcc I could produce more friendly code than using the -mno-cygwin parameter. Is that right? Since cygwin gcc doesn't have the -lsdc++. I just would like to have a cygwin interface-like (use tool-binaries like ls, and other unix stuff) but having a native windows binary so i'm a bit confuse what way should I take. Thanks for your help []s Douglas On Thu, Jul 17, 2008 at 2:04 PM, Ken Jackson wrote: > Not sure about .LIB and DLL, but to compile an executable that > will run without cygwin1.dll, use this switch: -mno-cygwin > > -Ken Jackson > > Douglas Gemignani writes: > > I read that i would need to use the cygwin1.dll, but I don't > > understand how. I hope I can find some guidance here! > > > > Thanks! > > []s > > Douglas > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/