libftdi Archives

Subject: [Offtopic] Using ftd2xx with mingw

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 2 Apr 2009 16:24:32 +0200
Hello,

my verison of xc3sprog to program Xilinx FTPA/CPLD/PROM uses libftdi and
alternativly ftd2xx. Now I am trying to crosscompile for win32 with mingw and I
don't succeed in linking with ftd2xx.  I am using the files from
CDM 2.04.16 WHQL Certified/i386 on opensuse and
cross-mingw-gcc-3.4.5_20060117_1-5.4
cross-mingw-binutils-2.16.91_20060119_1-6.4

Linking against the .lib file results in a SIGSEGV and trying to build a .def
file ( via wine pexport.exe /exports ftd2xx.dll) results in
undefined reference to `__imp__...` after 
i386-mingw32msvc-dlltool --input-def ftd2xx.def --dllname ftd2xx.dll 
--output-lib ftd2xx.a -k

www.mingw.org/wiki/create_an_import_library resuts in "page not found"

Can anybody give me a helping hand?

Or otherwise, has anybody used libftdi with libusb-win32 with mingw as a
cross compiler?

Thanks
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread