From: (no name) (no email)
Date: Sat Feb 21 2004 - 12:18:21 EST
On Sat, 21 Feb 2004, Wietse Venema wrote:
> Bastian Blank:
> > On Sat, Feb 21, 2004 at 03:08:15PM +0100, Luca Berra wrote:
> > > /me does something similar for mdk, the problem is that shared libraries
> > > implementation are so different between various systems to make
> > > integrating this in standard postfix a PITA.
> >
> > Two possibilities:
> > - the build system knows the system, so it can make decisions on this
> > knowledge.
> > - libtool exists for this sort of problems.
>
> Do I hear a volunteer? The build procedure needs to account for
> the currently supported systems: AIX FreeBSD Linux MaxOSX OpenBSD
> SCO Solaris SunOS and a couple that I overlooked.
>
The Tcl distribution has historically had good support for building an
-ltclM.N dynamic library support for dynamic loading of modules on a large
range of platforms, without resorting to libtool. While Tcl uses autoconf,
all the necessary magic is in
unix/tcl.m4
In the 8.3.2 code the various platform settings are after
# Step 3: set configuration options based on system name and version.
The dynamic loading code is in unix/
tclLoadAix.c tclLoadDl.c tclLoadDyld.c tclLoadOSF.c
tclLoadAout.c tclLoadDld.c tclLoadNext.c tclLoadShl.c
The code is released under a BSD license, so it should be possible to
redistribute portions of it under the IBM license provided that the
original copyrights are retained, and the Tcl license is included in the
distribution.
If one just wants to borrow the LD settings for compiling shared libraries
without the dynamic loading code, there is unlikely to be any "IP" impact.
-- Viktor.
|
|
|