Re: z/OS

2010-07-14 Thread Ralf Wildenhues
Hi Howard, * Howard Chu wrote on Thu, Jul 15, 2010 at 06:51:30AM CEST: > > The z/OS linker has two operating modes, old style and XPLINK. I > seem to recall that you can only create DLLs using XPLINK. This has > some complications because XPLINK throws all object files into a > single namespace;

Re: z/OS

2010-07-14 Thread Howard Chu
Alon Bar-Lev wrote: Sure, I do anything to help. However, I am missing some details on the z/OS linkage process, even without libtool I could not find a proper way to create a shared object (or dll which is the right name at this platform). If nobody ported libtool to this platform, I will try t

Re: hpux linking shared library with static library

2010-07-14 Thread Alon Bar-Lev
On Wed, Jul 14, 2010 at 10:21 PM, Bob Friesenhahn wrote: > On Wed, 14 Jul 2010, Alon Bar-Lev wrote: > >> ‎‎Thank you! >> >> But I do link the static library as PIC. > > Even if the static library is PIC, and the OS is happy to load and run the > result, there is a common problem with this approach

Re: z/OS

2010-07-14 Thread Alon Bar-Lev
Sure, I do anything to help. However, I am missing some details on the z/OS linkage process, even without libtool I could not find a proper way to create a shared object (or dll which is the right name at this platform). If nobody ported libtool to this platform, I will try to figure out how to do

Re: z/OS

2010-07-14 Thread Ralf Wildenhues
Hi Alon, * Alon Bar-Lev wrote on Wed, Jul 14, 2010 at 04:48:22PM CEST: > Does anyone has experience with libtool at z/OS open edition? > It builds static libraries, but it does not know how to build shared objects. AFAICS Libtool does not support z/OS yet, which means only static libraries can be

Re: hpux linking shared library with static library

2010-07-14 Thread Alon Bar-Lev
Hello Robert, This argument is correct, however it is true for all platforms, while this already works using libtool in: - Windows 32bit - Windows 64bit - Solaris 8 - Solaris 10 sparc - Solaris 10 intel - AIX 5.3 - AIX 6.1 - Linux 2.2 i386 - Linux 2.4 i386 - Linux 2.6 i686 - Linux 2.6 x86_64 - Lin

Re: hpux linking shared library with static library

2010-07-14 Thread Bob Friesenhahn
On Wed, 14 Jul 2010, Alon Bar-Lev wrote: ‎‎Thank you! But I do link the static library as PIC. Even if the static library is PIC, and the OS is happy to load and run the result, there is a common problem with this approach since if more than one shared library is linked with the static libr

Re: hpux linking shared library with static library

2010-07-14 Thread Robert Boehne
Libtool is intended to support a portable subset of shared library functionality. When you use an archive file to create a shared library, this is generally not a portable feature, and won't work on many systems (like Windows). In this situation, you will be better off creating a shared library o

z/OS

2010-07-14 Thread Alon Bar-Lev
Hello, Does anyone has experience with libtool at z/OS open edition? It builds static libraries, but it does not know how to build shared objects. Thanks, Alon. ___ http://lists.gnu.org/mailman/listinfo/libtool

Re: hpux linking shared library with static library

2010-07-14 Thread Alon Bar-Lev
‎‎Thank you! But I do link the static library as PIC. Attached is a sample. When I remove the restriction all works, shared can call static, main can call both. --- $ ldd xxx/bin/test1 => /usr/lib/libc.2 => /usr/lib/libc.2 /usr/lib/libdld.2 =>/usr/lib/libdld.2