Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: Using -mno-cygwin flag Date: Wed, 04 May 2005 12:06:18 -0500 Lines: 23 Message-ID: References: <20050504091922 DOT GD7475 AT monster DOT octa4 DOT net> <42789D45 DOT 6F74436D AT dessent DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) In-Reply-To: X-IsSubscribed: yes Sam Steingold wrote: >>* Brian Dessent [2005-05-04 03:00:37 -0700]: >> >>-mno-cygwin does not just "make things that doesn't depend on the >>cygwin DLL", it removes Cygwin from the equation entirely. > > > this is very unfortunate, actually. > things like berkeley-db, postgresql, pcre &c all have a native win32 > port, and it it a pity that -mno-cygwin does not use them. But it can use them; any library that you have in dll form can be used by creating a so called stub (.a) library that is used by gcc/g++/gcj to link to the dll. In fact, that's the way mingw links to the Windows system dll. For the OP that means he needs to port the package he is trying to build. By port I mean search for required libraries and if all of them have already been ported then just complete the mingw environment... this is a topic better discused in a MingW list, but it's really easy. Regards. -- René Berber -- 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/