scsh-users
[Top] [All Lists]

scsh-0.5.2 cygwin patches and binary distr

To: scsh@zurich.ai.mit.edu
Subject: scsh-0.5.2 cygwin patches and binary distr
From: Reini Urban <rurban@sbox.tu-graz.ac.at>
Date: Fri, 22 Dec 2000 01:16:26 +0200
Organization: http://xarch.tu-graz.ac.at
Hi
Glauber Ribeiro recently requested a win32 binary port so I did it.

README
scsh-0.5.2 cygwin binary
(cygwin1.dll required)
compiled with cygwin-1.1.6-1, gcc-2.95.2-5
by Reini Urban <rurban@x-ray.at>

on compilation there were some warnings on missing functions exported 
(mostly signals, ...)
but make check passes all.

INSTALL
cd /
wget ftp://xarch.tu-graz.ac.at/pub/autocad/lisp/cl/scsh-0.5.2-cygwin.tgz
tar xfz scsh-0.5.2-cygwin.tgz

PATCH
required small patches with the latest cygwin:

2000-12-21 23:53:18 rurban
  * compiled with cygwin-1.1.6-1, gcc-2.95.2-5
    ftp://xarch.tu-graz.ac.at/pub/autocad/lisp/cl/scsh-0.5.2-cygwin.tgz

--- scsh-0.5.2/scsh/time1.c~    Mon Nov 10 04:55:17 1997
+++ scsh-0.5.2/scsh/time1.c     Fri Dec 22 00:44:28 2000
@@ -55,7 +55,11 @@
 static char *utc_env[] = {"TZ=UCT0", 0};
 
 #ifdef HAVE_TZNAME
+#ifdef __CYGWIN__
+#define tzname _tzname
+#else
 extern char *tzname[]; /* Why isn't this defined in time.h? */
+#endif
 #endif
 
 /* These two functions allow you to temporarily override
--- scsh-0.5.2/scsh/network1.h~ Sun Oct 22 14:34:20 1995
+++ scsh-0.5.2/scsh/network1.h  Fri Dec 22 00:34:32 2000
@@ -97,3 +97,7 @@
 void set_longvec_carriers(scheme_value svec, long const * const * cvec);
 
 scheme_value veclen(const long *vec);
+
+#ifdef __CYGWIN__
+#define h_errno errno
+#endif

-- 
Reini Urban
http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html

<Prev in Thread] Current Thread [Next in Thread>
  • scsh-0.5.2 cygwin patches and binary distr, Reini Urban <=