zsh-users
 help / color / mirror / code / Atom feed
* zsh 3.1.6/7 and cygwin 1.x
@ 2000-05-16 16:05 Johannes Mähner
  2000-05-16 16:41 ` Geoff Wing
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Mähner @ 2000-05-16 16:05 UTC (permalink / raw)
  To: zsh users

Is anyone of you running zsh-3.1.6/7 with the cygwin 1.x system? 

(Compiling works fine, invoking a non-builtin-command 
yields a status access violation on my system (WinNT 4 + SP5))

NOTE: I have already opened a thread in the cygwin mailing list,
but if one of you has some usefull information to this issue, there
could be a nice synergy-effect for both mailing lists ;-)

Thanks!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: zsh 3.1.6/7 and cygwin 1.x
  2000-05-16 16:05 zsh 3.1.6/7 and cygwin 1.x Johannes Mähner
@ 2000-05-16 16:41 ` Geoff Wing
  2000-05-16 17:12   ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Geoff Wing @ 2000-05-16 16:41 UTC (permalink / raw)
  To: zsh-users

Johannes Mähner <johanm@camline.com> typed:
:Is anyone of you running zsh-3.1.6/7 with the cygwin 1.x system? 
:(Compiling works fine, invoking a non-builtin-command 
:yields a status access violation on my system (WinNT 4 + SP5))

I had few problems on NT4/SP6 or 2000 with a couple of zsh-3.1.6-dev versions.
Should build fairly cleanly.  I've a binary at:
	http://mason.primenet.com.au/CygWin32/index.html

Oh, one thing I've just remembered.  I had to stop it from trying to
use mmap - I didn't know if it was specific to me or if it was more general.
Editing config.h and undefining HAVE_MMAP may fix your problem.

:NOTE: I have already opened a thread in the cygwin mailing list,
:but if one of you has some usefull information to this issue, there
:could be a nice synergy-effect for both mailing lists ;-)

Regards,
-- 
Geoff Wing : <gcw@pobox.com>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@zsh.org>       Phone   : (Australia) 0413 431 874


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: zsh 3.1.6/7 and cygwin 1.x
  2000-05-16 16:41 ` Geoff Wing
@ 2000-05-16 17:12   ` Peter Stephenson
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 2000-05-16 17:12 UTC (permalink / raw)
  To: Zsh users list

Geoff wrote:
> Oh, one thing I've just remembered.  I had to stop it from trying to
> use mmap - I didn't know if it was specific to me or if it was more general.
> Editing config.h and undefining HAVE_MMAP may fix your problem.

If so, can someone try this patch.

Index: Src/system.h
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/system.h,v
retrieving revision 1.1.1.10
diff -u -r1.1.1.10 system.h
--- Src/system.h	1999/12/09 16:09:46	1.1.1.10
+++ Src/system.h	2000/05/16 17:11:28
@@ -642,3 +642,7 @@
 #if defined(CONFIG_LOCALE) && defined(HAVE_SETLOCALE) && defined(LC_ALL)
 # define USE_LOCALE 1
 #endif /* CONFIG_LOCALE && HAVE_SETLOCALE && LC_ALL */
+
+#ifdef __CYGWIN__
+# undef HAVE_MMAP
+#endif

-- 
Peter Stephenson <pws@cambridgesiliconradio.com>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-05-16 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-16 16:05 zsh 3.1.6/7 and cygwin 1.x Johannes Mähner
2000-05-16 16:41 ` Geoff Wing
2000-05-16 17:12   ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).