delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/08/20:05:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Charles Wilson <cwilson AT ece DOT gatech DOT 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 DOT L97906-100000 AT localhost> <20020708233457 DOT GB24240 AT redhat DOT com>
NNTP-Posting-Host: ibb-429.ibb.gatech.edu
Mime-Version: 1.0
X-Trace: main.gmane.org 1026173059 1351 128.61.133.79 (9 Jul 2002 00:04:19 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT 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/

- Raw text -


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