Creating a Shared Library Create the shared library: > ld -b -o libhw.sl helloworld.o Link with the shared library: > c89 -o hwcgi hwcgimain.o -WL,cap=ph,XL=/APACHE/CGISRC/libhw.sl must specify full pathname
> ld -b -o libhw.sl helloworld.o
> c89 -o hwcgi hwcgimain.o -WL,cap=ph,XL=/APACHE/CGISRC/libhw.sl