[Discuss] cygwin desktop, utilities for usb

Noel Burton-Krahn noel at burton-krahn.com
Thu Feb 21 16:23:57 PST 2008


Hey, D.S.  I managed to hack cygwin so it doesn't have that shared memory
conflict any more.  This version of cygwin will make a shared memory space
named for its own version, so only cygwins of the same version will share
it.

To Try it out, you'll have to patch and build cygwin for yourself.  Here's
how:

1. save the attached patch

cygwin-snapshot-20080219-1-versioned-shared-memory.patch

2. patch and build:

wget http://cygwin.com/snapshots/cygwin-src-20080219.tar.bz2
tar jxf cygwin-src-20080219.tar.bz2
cd cygwin-snapshot-20080219-1
patch -p1 < ../cygwin-snapshot-20080219-1-versioned-shared-memory.patch
./configure
make

3. replace cygwin1.dll with the new one

# the compiled cygwin1.dll will not conflict with other cygwins at
# other versions. You can copy it over the cygwin1.dll in one of your
# conflicting applications
#
cp ./i686-pc-cygwin/winsup/cygwin/new-cygwin1.dll ./cygwin1.dll

It worked for me.  Let me know how it goes for you.

By the way, there's another gotcha here.  Cygwin keeps its mount points in
the registry, so your mount.bat script will overwrite existing cygwin mount
points.  To clean up I had to run the cygwin setup again.

~Noel



On 2/21/08, D. S. <news.observer at gmail.com> wrote:
>
> On Thu, Feb 21, 2008 at 12:27 PM, Noel Burton-Krahn
>
> <noel at burton-krahn.com> wrote:
>
> > Sorry to give you a bug report, but this is going to be common on
> systems
> >  that already have cygin installed:
>
>
> Good point. I should have mentioned that earlier ... You probably
> won't want to run Tiny Cygwin, if you already have a regular Cygwin
> installation on a given system.
>
> _______________________________________________
> Discuss mailing list
> Discuss at vlug.org
> http://ladybug.vlug.org/cgi-bin/mailman/listinfo/discuss
>


More information about the Discuss mailing list