[Patches] Re: Python 1.5.2 BSD/OS support for dynamic modules
Andrew Kuchling
akuchlin@mems-exchange.org
Sun, 18 Jun 2000 11:00:55 -0400
On Sun, Jun 18, 2000 at 12:00:57AM -0500, Guido van Rossum wrote:
>This patch adds support for dynamically loaded modules
Something similar to this patch has already been applied to 1.6.
From cvs log configure.in:
revision 1.107
date: 1999/10/05 21:59:33; author: guido; state: Exp; lines: +3 -1
Dynamic linking support for BSD/OS 4.x as suggested by Vivek Khera
One actual difference between the two... Mackenzie's patch has:
>@@ -512,6 +512,7 @@
> hp*|HP*)
> LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
> FreeBSD/3*) LINKFORSHARED="-Xlinker -export-dynamic";;
>+ BSD/OS/4*) LINKFORSHARED="-rdynamic";;
> Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
> # -u libsys_s pulls in all symbols in libsys
> next/2*|next/3*) LINKFORSHARED="-u libsys_s";;
The configure.in currently sets it to -Xlinker -export-dynamic, just
like all the other GCC platforms. By symmetry arguments, probably
configure.in is right.
--amk