libftdi Archives

Subject: Re: [ANNOUNCE] libftdi 0.18 released

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 5 Jul 2010 22:24:06 +0800
On Sun, Jul 4, 2010 at 7:22 PM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:

> Somehow the dll is missing from the above MinGW build.
> So I cross compile it under Ubuntu 9.10. Just in case
> someone would want to use it without building from source,
> here is the MinGW 32bit binary package. It does not have
> the Boost and Python bindings. The dll, import library,
> header file, examples and html docs are included.

The above is tested with 32bit OpenOCD 0.4.0 and 0.5.0-devel
binary from Freddie Chopin and they seem to work.

MinGW-w64 test build is also uploaded (untested).

Cross Compiler:
cross mingw-w64 toolchain under linux i686, build (gcc 4.5 branch)
from SVN 2010-06-05

DDK Headers from MinGW-w64 test branch, Rev 2769
svn co

I also created two CMake files. I do not know much about CMake so that
I am not so sure if it is correct or not.

1) Toolchain-Crossbuild64.cmake
# the name of the target operating system

# which compilers to use for C and C++
SET(CMAKE_C_COMPILER /home/mcuee/mingw-w64/bin/x86_64-w64-mingw32-gcc)
SET(CMAKE_CXX_COMPILER /home/mcuee/mingw-w64/bin/x86_64-w64-mingw32-g++)

# here is the target environment located
SET(CMAKE_FIND_ROOT_PATH  /home/mcuee/mingw-w64/x86_64-w64-mingw32)

# adjust the default behaviour of the FIND_XXX() commands:
# search headers and libraries in the target environment, search
# programs in the host environment

2) Toolchain-Crossbuild64.cmake
set(CMAKE_C_COMPILER gcc -m64)
set(CMAKE_CXX_COMPILER g++ -m64)
set(CMAKE_FIND_ROOT_PATH /usr/lib)

You may also need the libusb-win32 MinGW64 test build (untested
and unsupported) if you want to build by yourself.


libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread