Skip to Content.
Sympa Menu

freetds - Re: [freetds] no dll on win64 cross compile

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: Thomas Stover <thomas AT wsinnovations.com>
  • Cc: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] no dll on win64 cross compile
  • Date: Fri, 29 Jul 2011 09:48:23 +0200

2011/7/28 Thomas Stover <thomas AT wsinnovations.com>:
> On Thu, 28 Jul 2011 09:50:25 +0200, Frediano Ziglio <freddy77 AT gmail.com>
> wrote:
>> 2011/7/27 Thomas Stover <thomas AT wsinnovations.com>:
>>>
>>> Regarding 0.91RC2,
>>> -built from an ubuntu 10.10 x86_64 host
>>> -targeting win64
>>> -using x86_64-w64-mingw32
>>> -downloaded from from http://mingw-w64.sourceforge.net/
>>> (mingw-w64-bin_x86_64-linux_20110625.tar.bz2)
>>>
>>>
>>> My configure:
>>>
>>> ./configure --prefix=/home/thomas/win64/mingw --host=x86_64-w64-mingw32
>>> --enable-sspi --disable-odbc --disable-apps --disable-server
>>> --disable-pool
>>> --enable-shared
>>>
>>> I get the static library (.a), but no .dll. Any ideas?
>>>
>>
>> Libtool I think :(
>>
>> Try executing these commands after configure command
>>
>> $ cp libtool libtool.tmp
>> $ cat libtool.tmp | sed -e 's,file format pe-i386,file format
>> pe-(x86-64|i386),' > libtool
>>
>> Regards
>>   Frediano
>
>
> No dice. Thanks anyway. Anything to look at?
>

Strange. Personally I use mingw-w64 package in Ubuntu (you can find in
official repository) and misc/prepare_win32.sh script. I just tried
and it keeps getting me DLLs and whatever.

Frediano




Archive powered by MHonArc 2.6.24.

Top of Page