Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

How to build 64-bit ODBC manager

Sunny Li
Occasional Contributor

How to build 64-bit ODBC manager

I downloaded ODBC manager unixODBC-2.2.11 from www.unixodbc.org. I need to build 64-bit ODBC manager library. Please tell me how to configure the compiler to builde 64-bit library. My system is HP-UX hp14 B.11.23 U ia64 (ti).

Thanks

Sunny
3 REPLIES
Arunvijai_4
Honored Contributor

Re: How to build 64-bit ODBC manager

Hi Sunny,

You can build with aCC or GCC, Just need to specify these compiler flags during configure and build process,

aCC or CC
==========

+DD64

GCC
===

-mlp64

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sunny Li
Occasional Contributor

Re: How to build 64-bit ODBC manager

Arun,

Thanks a lot to answer my question. I am not a expert on compiler. Could you please give me the instructions on how to compiler? such as: configure --GCC=mlp64

and how to make

I appreciate your help.

Sunny
Arunvijai_4
Honored Contributor

Re: How to build 64-bit ODBC manager

Hi Sunny,

You can export CFLAGS and CPPFLGS before start configuring the product,

# export CFLAGS= +DD64

# export CPPFLAGS= +DD64

In case of GCC,

# export CFLAGS=-mlp64
# export CPPFLAGS=-mlp64

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"