The programs are linked with the Windows NT linker LINK (for specific options, see LINK documentation).
Take into account that both libraries, %DBROOT%\LIB\cpclib.lib and %DBROOT%\LIB\sqlpcr.lib, must be used for linking.