delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/31/11:09:37

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 <cgf-use-the-mailinglist-please AT cygwin DOT com>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019