链接程序和库指南

创建动态可执行文件

以下示例结合了以上几点:


$ cc -o prog -R /home/lib -z ignore -z lazyload -B direct -L. \

-lfoo file1.o file2.o file3.o .....