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

2. Compile the sample program.
These are the 64-bit drivers:
64-bit driver for HP-UX(IA-64)
x86_64 Linux
IA-64 Linux
HP-UX PA-RISC drivers
64-bit driver for IBM AIX
The rest are are 32-bit drivers. Be sure to compile your applications accordingly.
Compile CommandClient OS
g++ connect_test.cpp -L/usr/lib -I/usr/include/hpodbc -lhpodbc \
-o connect_test
NOTE: This Linux driver is a 32-bit driver. If you are using an x86-64 machine, you need to
explicitly compile your application as a 32-bit application. For example:
g++ connect_test.cpp -m32 -L/usr/lib \
-I/usr/include/hpodbc -lhpodbc -o connect_test
x86 Linux
g++ connect_test.cpp -L/usr/lib64 -I/usr/include/hpodbc \
-lhpodbc64 -o connect_test
x86_64 Linux
14