[unixODBC-support] I need unixODBC 64bit version
tachoymu at gmail.com
Tue Jul 20 00:14:48 BST 2010
I used the following flags to make odbc driver manager a 64bit software, but
it is failing to accomplish it.
# export CFLAGS="-q64 -g -O2 -pthread -DSYSV -D_AIX -D_AIX32 -D_AIX41
-D_AIX43 -D_AIX51 -DBUILD_REAL_64_BIT_MODE"
# ./configure --enable-gui=no --enable-drivers=no
# make install
# odbc_config --ulen
# ar -X 32 -t /usr/local/lib/libodbc.a
# ar -X 64 -t /usr/local/lib/libodbc.a
What more can do to make 64-bit compilation take place?.
Thanks and regards,
2010/7/19 Tacho <tachoymu at gmail.com>
> I did it that way because was the only I found on the web related to
> I do not know much how to user flags to compile a source code.
> here is the link:
> 2010/7/19 Nick Gorham <nick at lurcher.org>
>> Tacho wrote:
>> Hi Nick,
>>> in spite of setting the CFLAGS with -BUILD_LEGACY_64_BIT_MODE still is
>>> building unixODBC in 32-bit version:
>> Yes, it will, but I didnt say to do that, what I said was
>> "Just set the CFLAGS env variable to make your compiler produce64 bit
>> object and rerun configure and make."
>> So, for example
>> export CFLAGS=+DD64
>> make install
>> unixODBC-support mailing list
>> unixODBC-support at mailman.unixodbc.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the unixODBC-support