Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bywater!arnor!prener!prener From: prener@watson.ibm.com (Dan Prener) Newsgroups: comp.unix.aix Subject: Re: Binding in Fortran runtime on AIX 3.1 Message-ID: <1991Apr2.012124.24829@watson.ibm.com> Date: 2 Apr 91 01:21:24 GMT References: <5586@vela.acs.oakland.edu> Sender: news@watson.ibm.com (NNTP News Poster) Reply-To: prener@prener.watson.ibm.com (Dan Prener) Distribution: na Organization: IBM T.J. Watson Research Center Lines: 13 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)