Oracle® Solaris 11.2 Linkers and Libraries Guide

Exit Print View

Updated: July 2014
 
 

Creating a Relocatable Object

To create a relocatable object use the –r option.

$ ld -r -o temp.o file1.o file2.o file3.o ....