On Sat, Jan 31, 2015 at 5:20 PM, Paul Fertser <fercer...@gmail.com> wrote:
> Hello,
>
> With the intention of providing windows users with a straightforward
> way to install (and self-compile when needed) OpenOCD, I've contacted
> MSYS2 developers and they were kind enough to fix and upstream
> PKGBUILDs for OpenOCD, libusb-1.0 and libusb-compat (based on the work
> by Andrew Leech). BTW, a patch to libusb-compat would be nice to have
> upstreamed.
>
> The feedback so far was very positive, MSYS2 seems to become the
> package management system that was really missing on windows. A number
> of high-profile projects (including Qt) is already supported.
>
> Please see http://openocd.zylin.com/#/c/2507/ for the documentation
> changes I propose.

Personally I do not use MSYS2 and have no intention of using it
since I only deal with a few projects and I do not have the need
for MSYS2. But I remember Pete from the libusb project seems to
like it.

I think there is no real work on the libusb-compat side to make it
as easy to build as the regular libusb. You may want to try again
in the libusb mailing list to see the response.

One thing is because of the existence of libusb-win32 (not
really that friendly to MinGW based GCC) and it provides
a superset of libusb-0.1 API. So libusb-compat can not replace
libusb-win32 at least for some libusb-win32 users.

> There's one problem left though, where the OpenOCD project will need
> your hand: currently MSYS2 is lacking a PKGBUILD for
> libftdi1. Creating one should be straightforward considering libftdi
> has no obscure dependencies and uses CMake in a regular way. So
> please, create one, test and push upstream to the fine MSYS2 devs.
>

That depends on what you mean by packaging libftdi1, it can be
the worst to package under Windows if you want to build all the
parts of it (even though it is easy to do under Linux). For example,
it may depend on Boost (and Boost unit_test_framework), swig,
Python, libconfuse, libintl, etc. But if you just need the C library, then
it is pretty easy to package.

-- 
Xiaofan

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to