IBM z/OS (zSeries)

Warning: The configure scripts for the GnuPG libraries do not generate shared libraries, only static archive libraries. Owing to this limitation, the archive libraries are unpacked and recompiled back into dynamically linked libraries. The following example uses libgpg-error as the target. FIS suggests that you create a temporary directory for each DLL.

  1. Unpack the archive : ar -x /usr/local/lib/libgpg-error.a

  2. Link the archive objects into a DLL: xlc -qascii -q64 -W l,DLL -o libgpg-error.dll *.o

  3. Copy the DLL and side deck file into the destination (assumed to be /usr/local/lib): cp libgpg-error.dll libgpg-error.x /usr/local/lib