Re: win64 dll shared library
Frediano Ziglio <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
2010/8/17 Thomas Stover <[email protected]>: > I recently revisited cross compiling from linux to windows. > > ubuntu 10.04 (mingw32 that comes in the repos) works just fine > > $mkdir win32output > $./configure --host=i586-mingw32msvc --prefix=`pwd`/win32output > --enable-shared > $make > $make install > $ls win32output/bin/ > bsqldb.exe bsqlodbc.exe datacopy.exe defncopy.exe freebcp.exe > libct-4.dll libsybdb-5.dll libtdsodbc-0.dll osql tdspool.exe tsql.exe > > note that the dlls are created. > > Now on ubuntu 10.04 (prebuilt mingw-w64 8/17/2010 from > mingw-w64.sourceforge.net) > > $mkdir win64 > $export PATH=$PATH:/home/thomas/mingw-w64-bin_i686-linux_20100817/bin > $./configure --host=x86_64-w64-mingw32 --prefix=`pwd`/win64 > --enable-shared > $make > $make install > $ls win64/bin > bsqldb.exe bsqlodbc.exe datacopy.exe defncopy.exe freebcp.exe osql > tdspool.exe tsql.exe > $ls win64/lib > libct.a libct.la libsybdb.a libsybdb.la libtdsodbc.a libtdsodbc.la > > No dlls are created. Is shared library / dll creation supported for win64? > Probably a libtool problem, in my script I have these lines (after configure, before make) cp libtool libtool.tmp cat libtool.tmp | sed -e 's,file format pe-i386,file format pe-(x86-64|i386),' > libtool freddy77 _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds