X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 31 Dec 2009 11:09:20 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Using cygwin headers/libraries in MS compiled programs Message-ID: <20091231160920.GB4737@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <001b01ca8a03$90bfe2f0$b23fa8d0$@calgacus.com> <4B3CC330 DOT 3090805 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B3CC330.3090805@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Thu, Dec 31, 2009 at 03:28:48PM +0000, Dave Korn wrote: >Neil Mowbray wrote: >>Apologies for the dumb question and please re-direct if there is a >>better forum. > >Not a dumb question, but in fact a rather subtle and tricky one. I don't think it's really that subtle. It just boils down to "We really don't support it". You can play tricks to sort of dynamically load cygwin but there are no guarantees that it will work. You could also probably play tricks to load the dll normally on the command line but it certainly is not a goal to do that. The Cygwin DLL is meant to be run from a gcc-compiled program. That assumption is really rather core to the whole project. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple