* PATCH: [3.1.6-pre2] Fix for dynamic linking under FreeBSD
@ 1999-07-19 20:06 Ollivier Robert
0 siblings, 0 replies; only message in thread
From: Ollivier Robert @ 1999-07-19 20:06 UTC (permalink / raw)
To: zsh-workers
Here is a fix that should work for both older a.out systems and newer (3.x &
4.x) ELF FreeBSD systems.
--- configure.in.old Mon Jul 19 21:49:19 1999
+++ configure.in Mon Jul 19 21:51:38 1999
@@ -1187,7 +1187,7 @@
fi
case "$host_os" in
hpux*) DLLDFLAGS="${DLLDFLAGS=-b}" ;;
- linux*|irix*|osf*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
+ freebsd*|linux*|irix*|osf*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;;
sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;;
@@ -1196,7 +1196,7 @@
esac
case "$host" in
*-hpux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
- *-linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
+ *-freebsd3*|*-freebsd4*|*-linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
mips-sni-sysv4)
#
# unfortunately, we have different compilers
While I'm here, here is the size of the various modules under FreeBSD/ELF:
-rwxr-xr-x 1 roberto wheel 8344 Jul 19 22:04 Src/Builtins/rlimits.so*
-rwxr-xr-x 1 roberto wheel 4596 Jul 19 22:04 Src/Builtins/sched.so*
-rwxr-xr-x 1 roberto wheel 2576 Jul 19 22:04 Src/Modules/cap.so*
-rwxr-xr-x 1 roberto wheel 4416 Jul 19 22:04 Src/Modules/clone.so*
-rwxr-xr-x 1 roberto wheel 5972 Jul 19 22:04 Src/Modules/example.so*
-rwxr-xr-x 1 roberto wheel 9632 Jul 19 22:04 Src/Modules/files.so*
-rwxr-xr-x 1 roberto wheel 5456 Jul 19 22:04 Src/Modules/mapfile.so*
-rwxr-xr-x 1 roberto wheel 9728 Jul 19 22:04 Src/Modules/parameter.so*
-rwxr-xr-x 1 roberto wheel 9028 Jul 19 22:04 Src/Modules/stat.so*
-rwxr-xr-x 1 roberto wheel 26252 Jul 19 22:04 Src/Modules/zftp.so*
-rwxr-xr-x 1 roberto wheel 9980 Jul 19 22:04 Src/Zle/comp1.so*
-rwxr-xr-x 1 roberto wheel 30740 Jul 19 22:04 Src/Zle/compctl.so*
-rwxr-xr-x 1 roberto wheel 18456 Jul 19 22:04 Src/Zle/complist.so*
-rwxr-xr-x 1 roberto wheel 3136 Jul 19 22:04 Src/Zle/deltochar.so*
-rwxr-xr-x 1 roberto wheel 210320 Jul 19 22:05 Src/Zle/zle.so*
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
The Postman hits! The Postman hits! You have new mail.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-07-19 20:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-19 20:06 PATCH: [3.1.6-pre2] Fix for dynamic linking under FreeBSD Ollivier Robert
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).