README for the HP Neoview UNIX Drivers (Upd6 R2.2)

gcc connect_test.cpp -m32 -L/usr/lib \
-I/usr/include/hpodbc -lhpodbc -o connect_test
On x86_64 Linux:
gcc connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc64 -o connect_test
On HP-UX (IA-64):
aCC -AA connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc -o connect_test -lm
To use cc for compiling and linking:
— Rename connect_test.cpp to connect_test.c.
— Run this command:
cc connect_test.c –I/usr/include/hpodbc –L/usr/lib \
–lstd_v2 -lCsup -lunwind -lm -lhpodbc -o connect_test
Note: Multi-threaded applications should use the “-mt” compiler option. Non
multi-threaded applications that use ODBC asynchronous execution should ensure that
the pthread library is linked in and it is linked in ahead of the libc library.
On HP-UX (IA-64) 64 bit:
aCC +DD64 -AA connect_test.cpp -L/usr/lib/hpux64 -I/usr/include/hpodbc \
-lhpodbc64 -o connect_test -lm
To use cc for compiling and linking:
— Rename connect_test.cpp to connect_test.c
— Run this command:
cc connect_test.c +DD64 –I/usr/include/hpodbc -L/usr/lib/hpux64 \
-lhpodbc64 -lstd_v2 -lCsup -lunwind -lm -lhpodbc -o connect_test
Note: Multi-threaded applications should use the “-mt” compiler option. Non
multi-threaded applications that use ODBC asynchronous execution should ensure that
the pthread library is linked in and it is linked in ahead of the libc library.
On HP-UX (PA-RISC):
aCC -AA connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc -lhppa -o connect_test -lm
To use cc for compiling and linking:
— Rename connect_test.cpp to connect_test.c.
— Run this command:
cc connect_test.c –L/usr/lib –I/usr/include/hpodbc \
-lhppa -lstd_v2 -lCsup_v2 -lm -lhpodbc -o connect_test
Note: Multi-threaded applications should use the “-mt” compiler option. Non
multi-threaded applications that use ODBC asynchronous execution should ensure that
the pthread library is linked in and it is linked in ahead of the libc library.
On HP-UX (PA-RISC) 64 bit
aCC +DD64 -AA connect_test.cpp -L/usr/lib/pa20_64 -I/usr/nclude/hpodbc \
-lhpodbc64 -o connect_test -lm
Installation for Neoview Release 2.2 Update 3 39