[unixODBC-support] Unable to get isql working on AIX 7.1

Nick Gorham nick at lurcher.org
Mon Jan 25 18:19:20 GMT 2016


On 25/01/16 17:44, Sundar Mahadevan wrote:
> Hi Nick,
> Thank you for the response. During the original install, i used the 
> following export variables.
>
> export CC=gcc
> export CFLAGS="-maix64 -q64 -DBUILD_REAL_64_BIT_MODE"
> export OBJECT_MODE=64
>
> As per your suggestion, i set the following export variables (based on 
> https://community.oracle.com/thread/2569247?tstart=0)
>
> export PATH=/usr/ccs/bin:$PATH
> export CFLAGS="-m64 -DBUILD_REAL_64_BIT_MODE"
> export CXXFLAGS="-m64 -DBUILD_REAL_64_BIT_MODE"
>
> But i get the following error. Any ideas on what value should i set it to?

This

http://unix.ittoolbox.com/groups/technical-functional/ibm-aix-l/using-gcc-on-aix-want-64bit-compile-2613507

Suggests

CFLAGS="-Wl,-b64 -maix64"

May do what you want.

-- 
Nick


More information about the unixODBC-support mailing list