Sun Java System Web Proxy Server 4.0.11 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.

Table 1–2 Linker Commands and Options

Platform  

Options  

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