home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vnet.ibm.com
- From: russotto@vnet.ibm.com (Matthew T. Russotto)
- Message-ID: <19921118.055015.792@almaden.ibm.com>
- Date: Wed, 18 Nov 92 08:47:01 EST
- Newsgroups: comp.unix.aix
- Subject: Re: non-shared libraries
- Disclaimer: This posting represents the poster's views, not those of IBM
- News-Software: UReply 3.0
- References: <BxvqnJ.58@ansoft.com>
- Lines: 15
-
- In <BxvqnJ.58@ansoft.com> mike elliot writes:
- >Are there non-shared versions of the libraries for AIX 3.2? Occasionally
- >we run into customers who don't have/haven't installed some of the
- >libraries we use. I'm mostly interested in the X libraries, but libc
- >would be nice as well.
-
- You can make your application use the libraries in a non-shared way
- by specifying '-bnso' to the linker. You will also need to include
- any libraries that the libraries you use depend on, and if you link
- libc nonshared, you'll need to include /lib/syscalls.exp. I think
- that if you want to include some libraries shared and some unshared,
- the best way to do it is in two link steps-- the first specifying
- -bnso, -berok, and including all the nonshared libraries, and specifying
- an intermediate output file. The second should specify neither
- -bnso nor -berok, and should include all the shared libraries.
-