README for the HP Neoview ODBC Drivers for UNIX (R2.5)

Compile CommandClient OS
g++ connect_test.cpp -L/usr/lib -I/usr/include/hpobdc \
-lhpodbc -o connect_test
NOTE: On IA-64 Linux, you will occasionally see warning messages like “unaligned access
to 0xa00000020065805f, ip=0xa0000001002a48d1.” This warning can be ignored. To disable
these warning messages, enter:
prctl --unaligned=silent
This command turns off all unaligned access warnings for that session. For more information,
see http://kbase.redhat.com/faq/FAQ_105_9111.shtm.
IA-64 Linux
aCC -AA connect_test.cpp -L/usr/lib/hpux32 -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/hpux32 \
-lhpodbc lstd_v2 -lCsup -lunwind -lm -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 that it is linked in ahead of the libc library.
HP-UX (IA-64)
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 -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 that it is linked in ahead of the libc library.
HP-UX (IA-64)
64 bit
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 that it is linked in ahead of the libc library.
HP-UX
(PA-RISC)
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 that it is linked in ahead of the libc library.
HP-UX
(PA-RISC) 64
bit
Installation of the Neoview ODBC Drivers for UNIX 15