Sun Java System Web Server 7.0 Update 1 NSAPI Developer's Guide

Linker Commands and Options for Generating a Shared Object

To generate a shared library, use the commands and options listed in the following table.

SolarisTM Operating System (SPARC® Platform Edition)

ld -G or cc -G

Windows

link -LD

HP-UX

cc +Z -b -Wl,+s -Wl,-B,symbolic

AIX

cc -p 0 -berok -blibpath:$(LD_RPATH)

Compaq

cc -shared

Linux

gcc -shared

IRIX

cc -shared