delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/26/00:40:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 26 May 2005 00:38:56 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Max Kaehn <slothman AT electric-cloud DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Questions on patching dcrt0.cc
In-Reply-To: <1117064831.5390.174.camel@fulgurite>
Message-ID: <Pine.GSO.4.61.0505252005040.8541@slinky.cs.nyu.edu>
References: <1117064831 DOT 5390 DOT 174 DOT camel AT fulgurite>
MIME-Version: 1.0

On Wed, 25 May 2005, Max Kaehn wrote:

> I'm working on a patch to make it possible to load cygwin1.dll
> via LoadLibrary() in MSVC.  The intent is to make it possible
> for non-cygwin applications to be cooperative with cygwin paths
> and signals.
> [snip]

A worthy goal.  Good luck, Max.

> Some questions:
> [snip]
> 2.  I have an MSVC test program that demonstrates and tests this
>     functionality.  Where should I submit the source code and
>     Makefile -- a subdirectory of contrib?  of winsup/testsuite?
>     Since not everyone working on cygwin will have access to the
>     Microsoft compiler, should I submit a binary as well as source?
>     Where should I submit it?

As I understand it, the same issues arise whether cygwin1.dll is
dynamically loaded from an MSVC application or a MinGW application.
There is a simple way to compile MinGW applications on Cygwin (namely,
"gcc -mno-cygwin").  You could test your approach with a MinGW-compiled
app, and if you see the same behavior as with MSVC, the MinGW app could be
included in the testsuite.

> 3.  I want to spare anyone making use of the test program any
>     worries over legalities.  Should I submit it under the cygwin
>     license or put it in the public domain?

Either would be fine, AFAIU, but wait for CGF or Corinna to confirm it.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/

- Raw text -


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