Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Charles Wilson <cwilson@ece.gatech.edu>
Newsgroups: gmane.os.cygwin
Subject: Re: Concurrent versions of cygwin1.dll on one system
Date: Mon, 08 Jul 2002 20:05:02 -0400
Lines: 31
Message-ID: <3D2A28AE.1040002@ece.gatech.edu>
References: <20020708173949.L97906-100000@localhost> <20020708233457.GB24240@redhat.com>
NNTP-Posting-Host: ibb-429.ibb.gatech.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1026173059 1351 128.61.133.79 (9 Jul 2002 00:04:19 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Tue, 9 Jul 2002 00:04:19 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us

Christopher Faylor wrote:

> 
> So, you should check for the existence of a cygwin1.dll.  If one exists
> and it is older than the one you're installing, replace it.  Otherwise,
> don't install cygwin1.dll.
> 
> You're asking for trouble otherwise.


Or, you can completely fork cygwin, and change:
   1) the dll name
   2) the shared memory name
   3) the registry key locations
   4) <catchall for whatever I forgot>

And roll your own "IvoWin".  (Remember, tho, cygwin is GPL; therefore 
IvoWin will be GPL and you must make the source code available to 
whomever you give the binary.  Ditto for your app - but that's already 
true for your app, since it currently links to cygwin itself)

Using cygwin's gcc to build your app might be tricky; if you use 
cygwin's gcc, then you'd need to build your app using something like:
   gcc -nostdlib a.o b.o c.o -livowin -luser32 -l......
It gets tricky.

Earnie Boyd did this several months ago, for use with mingw (the MSYS 
project).  Of course, his mods were quite a bit more drastic than 1-4 above.

--Chuck




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

