This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Concurrent versions of cygwin1.dll on one system


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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]