Skip to main content


developerWorks  >  AIX and UNIX  >

AIX linking 101

developerWorks

Level: Intermediate

Gary Hook (ghook@us.ibm.com), Senior Technical Consultant, IBM

12 Sep 2002

Register now or sign in using your IBM ID and password.

Are you writing or porting applications to AIX®? Get a quick introduction to the most commonly used features of the linker and loader, plus practical tips and techniques. This short tutorial from AIX expert Gary Hook focuses primarily on the library search path.

In this tutorial

  • AIX introduction

  • Library search path

  • More linker options

Prerequisites

Before you begin, you should have a working knowledge of application architecture, including shared modules (or shared libraries). You should also understand the role played by the linker in application construction.

After completing this tutorial, you will understand:

  • How to make effective use of the LIBPATH environment variable
  • How LIBPATH interacts with the linker
  • How to direct the linker when creating loader information in a module
  • How the kernel finds dependent modules
  • How to effectively use certain linker command line options


System requirements

None.



Duration

2 hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community