Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: zsh-3.1.5-pws-5 available



The patch below makes it possible to compile ZSH dynamic on ReliantUNIX. It
avoids building shared lib by exporting executables symbols.

I don't claim, that it works on all versions. It should work on 5.43 and
above, that are current.

Question:

   sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
                                            ^^^^^^^^

ldflags does not appear to be used (or set) anywhere else. What is the point
of it? Also, as I noted, configure seems to ignore values of CPPFLAGS and
LDFLAGS. Is it intentional?

/andrej

--- zsh-3.1.5-pws-5/configure.in.org    Thu Jan 21 12:02:34 1999
+++ zsh-3.1.5-pws-5/configure.in        Sun Jan 24 15:38:01 1999
@@ -1008,9 +1008,10 @@
     aix*)         DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;;
     solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;;
   esac
-  case "$host_os" in
-    hpux*)  EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
-    linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
+  case "$host" in
+    *-hpux*)  EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
+    *-linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
+    mips-sni-sysv4) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-Blargedynsym}" ;;
   esac
   AC_CACHE_CHECK(if your dlsym() needs a leading underscore,
    zsh_cv_func_dlsym_needs_underscore,



Messages sorted by: Reverse Date, Date, Thread, Author