help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Need: ST precompiled for NT


From: Bonzini
Subject: Re: [Help-smalltalk] Need: ST precompiled for NT
Date: Sun, 14 Apr 2002 20:18:45 +0200

You should download Cygwin.  Cygwin includes all the necessary things to
compile the GNU Smalltalk sources; only, the version of autoconf that gst
uses broke the part of libtool that deals with Windows.  This is a
workaround
(http://mail.gnu.org/pipermail/help-smalltalk/2002-April/000208.html), you
might need to add the empty main function elsewhere:

--- Smalltalk-1.95.12/examples/modules/gdbm.c.orig      Sat Jan  5 05:21:38 2002
+++ Smalltalk-1.95.12/examples/modules/gdbm.c   Tue Apr  2 00:14:58 2002
@@ -153,3 +153,13 @@
 /*  vmProxy->defineCFunc("gdbm_strerror", gdbm_strerror); not universal */
 /*  vmProxy->defineCFunc("gdbm_setopt", gdbm_setopt); not universal */
 }
+
+#ifdef __CYGWIN__
+int main()
+{
+  /*
+   * This empty main function is necessary for cygwin to avoid the strange
+   * error "undefined reference to address@hidden'" in case of creating DLL.
+   */
+}
+#endif
--- Smalltalk-1.95.11/lib-src/md5.c.orig        Wed Feb 13 21:36:33 2002
+++ Smalltalk-1.95.11/lib-src/md5.c     Tue Apr  2 00:11:41 2002
@@ -422,3 +422,12 @@
   ctx->D = D;
 }

+#ifdef __CYGWIN__
+int main()
+{
+  /*
+   * This empty main function is necessary for cygwin to avoid the strange
+   * error "undefined reference to address@hidden'" in case of creating DLL.
+   */
+}
+#endif
--- Smalltalk-1.95.11/tcp/tcp.c.orig    Wed Feb  6 02:28:50 2002
+++ Smalltalk-1.95.11/tcp/tcp.c Mon Apr  1 23:56:55 2002
@@ -279,3 +279,12 @@
 #endif
 }

+#ifdef __CYGWIN__
+int main()
+{
+  /*
+   * This empty main function is necessary for cygwin to avoid the strange
+   * error "undefined reference to address@hidden'" in case of creating DLL.
+   */
+}
+#endif


|_  _  _ __
|_)(_)| ),'
------- '---




reply via email to

[Prev in Thread] Current Thread [Next in Thread]