README for the HP Neoview ODBC UNIX Drivers (Upd3 R2.3 SP2)
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/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 +DD64 connect_test.c –L/usr/lib/pa20_64 –I/usr/include/hpodbc \
-lstd_v2 -lCsup_v2 -lcl -lm -lhpodbc64 -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 IBM AIX®:
g++ -maix32 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc -o connect_test
or, if the xlc/xlc++ compiled HP ODBC library is installed:
xlc++ -q32 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc -o connect_test
• On IBM AIX® 64 bit:
g++ -maix64 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc64 -o connect_test
or, if the xlc/xlc++ compiled HP ODBC library is installed:
xlc++ -q64 connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc64 -o connect_test
• On Sun SPARC®:
cc connect_test.cpp -I/usr/include/hpodbc -L/usr/lib \
-lhpodbc -o connect_test
• On Sun SPARC® 64 bit:
cc -xarch=v9a connect_test.cpp -I/usr/include/hpodbc -L/usr/lib \
Installation for Neoview Release 2.3 13