Table 1-7: Thread-Safe compile-and-link Commands for Client-Library

Updated Table 1-7: Thread-safe compile-and-link Commands for Client-Library of Open Client and Open Server Programmers Supplement for UNIX .

Platform Command
IBM AIX RS/6000 32-bit
xlc_r -D_THREAD_SAFE -I$SYBASE/$SYBASE_OCS/include -Dnthread_rs6000=1 program.c
    -L$SYBASE/$SYBASE_OCS/lib -lsybct_r -lsybtcl_r -lsybcs_r -lsybcomn_r -lsybintl_r  -lsybunic -lm
    -o program
IBM AIX RS/6000 64-bit
xlc_r -q64 -bexpall -DSYB_LP64 -D_THREAD_SAFE -I$SYBASE/$SYBASE_OCS/include
    -Dnthread_rs600064=1 program.c -L$SYBASE/$SYBASE_OCS/lib -lsybct_r64  -lsybtcl_r64 -lsybcs_r64
    -lsybcomn_r64 -lsybintl_r64 -lsybunic64 -lm -o  program