Sun Java System Web Server 6.1 SP9 NSAPI Programmer's Guide

Compiler Flags

The following table lists the flags and defines you need to use for compilation of your source code.

Table 3–4 Compiler Flags and Defines

Parameter  

Description  

Solaris SPARC 

-DXP_UNIX -D_REENTRANT -KPIC -DSOLARIS

Windows 

-DXP_WIN32 -DWIN32 /MD

HP-UX 

-DXP_UNIX -D_REENTRANT -DHPUX

AIX 

-DXP_UNIX -D_REENTRANT -DAIX $(DEBUG)

Compaq 

-DXP_UNIX -KPIC

Linux 

-DLINUX -D_REENTRANT -fPIC

IRIX 

-o32 -exceptions -DXP_UNIX -KPIC

All platforms 

-MCC_HTTPD -NET_SSL

The following table lists the optional flags and defines you can use.

Table 3–5 Optional Flags and Defines

Flag/Define  

Platforms  

Description  

-DSPAPI20

All 

Needed for the proxy utilities function include file putil.h