Binding in Fortran runtime on AIX 3.1

Dan Prener prener at watson.ibm.com
Tue Apr 2 11:21:24 AEST 1991


If you want to bind in a private copy of shared libraries (e.g., with
-b nso) then you must explicitly mention the list of system calls that
are normally imported with the shared libraries:

       -bnso -bI:/lib/syscalls.exp

This combination should do roughly what you want, except that you have
now linked in a non-shared copy of the C library as well.  If that is
not what you want to do, then you'll have to do a two-step link, first
doing a partial link with the -bnso flag, but leaving unresolved references
to libc, and then a final link without the -bnso to pick up a shared libc.
-- 
                                   Dan Prener (prener @ watson.ibm.com)



More information about the Comp.unix.aix mailing list