[Top][All Lists]

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

Re: [Help-smalltalk] Smalltalk-1.95.11 couldn't be made under Cygwin

From: Bonzini
Subject: Re: [Help-smalltalk] Smalltalk-1.95.11 couldn't be made under Cygwin
Date: Tue, 2 Apr 2002 20:44:56 +0200


I received this report from a GNU Smalltalk user and it seems like it is a
bug in libtool, triggered by newer versions of autoconf (the old version
uses 2.52, the new one uses 2.53).  The configure.ac file has
AC_LIBTOOL_WIN32_DLL.  It looks like the AC_PROVIDE mechanism has been moved
into M4SUGAR and the macros that AC_PROVIDE defines are named differently.

The simplest fix is to define AC_PROVIDE_AC_LIBTOOL_WIN32_DLL in
AC_LIBTOOL_WIN32_DLL and so on.  Is asking to release a 1.5 version with
this changes too much?

Here is the report:

> I tried to make Smalltalk-1.95.11 under Cygwin and had an error
> "undefined reference to address@hidden'" when building DLLs.
> Its cause and workaround are described in The Cygwin FAQ
> <http://cygwin.com/faq/faq_4.html#SEC93>.
> I used empty main function as shown below.
> I remember I didn't see this error when I made 1.95.9.
> I tried to see the difference between 1.95.9 and 1.95.11.
> Then I found the care of address@hidden in the configure
> script of 1.95.9, which is missing for 1.95.11.
> Why have these lines gone away?
> It seems better than empty main function in source code.
> ------------------------------------------------------------------
> echo "$as_me:4235: result: $lt_cv_cc_dll_switch" >&5
> echo "${ECHO_T}$lt_cv_cc_dll_switch" >&6
>   *-*-cygwin* | *-*-pw32*)
>     # cygwin systems need to pass --dll to the linker, and not link
>     # crt.o which will require a address@hidden definition.
>     lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
>   esac
>   ;;
> esac
> ------------------------------------------------------------------

reply via email to

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