Static linking with ld

Freddy Jensen jensen at adobe.com
Wed Jan 9 03:06:42 AEST 1991


Hi Folks,

   I have a question about the ld command on the RS/6000.

   ld  normally uses dynamic linking, when you build an
   executable.  This is fine; you save disk space and all
   that.  However,  I need occasionally to move my executable
   to other machines, and (for testing purposes) I would like
   to be able to link them  statically, so the program is self-
   contained and moveable.

   I have not been able to find an option (like Sun's -Bstatic)
   which can do that for me.

Any help appreciated.

Thanks

Freddy

-------------
Freddy Jensen
Display Postscript Group
Adobe Systems Incorporated
1585 Charleston Road, P.O. Box 7900
Mountain View, CA 94039-7900
email: jensen at adobe.com
       adobe!jensen at sun.com
       adobe!jensen at decwrl.dec.com
       ...!{decwrl,sun,uunet,apple}!adobe!jensen
phone: (415) 962-3869 / 961-4400



More information about the Comp.unix.aix mailing list