home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11672 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.2 KB

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