On Thu, Jun 12, 2014 at 3:47 PM, Andrew Leech <[email protected]> wrote:
> On 2/06/2014 3:52 PM, Paul Fertser wrote:
>> On Mon, Jun 02, 2014 at 02:48:21PM +1000, Andrew Leech wrote:
>>> I quickly ditched it and used msys2 to set up a nice clean relocatable
>>> install of mingw64 that I could transfer to the build machine easily.
>> This is an interesting note indeed. Do you think msys2 has the
>> potential to become "Homebrew for Windows"? Have you probably tried
>> porting the OpenOCD recipe from "Arch Linux" GNU/Linux distro to
>> msys2?
>>
>> If it'd be possible to self-compile OpenOCD HEAD on windows as easily
>> as it is now with "brew" on OS X, that would be rather useful.
>>
>> Please keep us updated, I'm ready to add easy building instructions to
>> README.Windows as soon as they're available.
>>
> Hi Paul,
> I have a feeling it could be. I've been working with it and openocd over
> the last few days and have a workable solution up and running.

I am not so sure after trying it for once under Windows two days
ago and in the end delete the whole thing after getting multiple
problems with MSys 2.

I am quite good at messing up with different systems
and I have no problems with pacman under Arch
Linux. However, it seems the pacman port under
MSys 2 does not work well.

Anyway, I might want to give it another try since there
are quite some people seem to have good success
with MSys 2 from the MinGW-w64 mailing list.

> Most packages on msys2 are distributed in binary form using pacman
> (ported from arch), but the definitions scripts they're built from are
> all on github and can be used directly with makepkg.
>
> I've forked the scripts repo and added packages for libusb,
> libusb-compat and openocd, both 0.8.0 and git-master.
> I've also done a really quick walkthrough to get it all compiled and
> installed, although no guarantees I haven't missed anything, I haven't
> been through it in one go on a different machine yet.
>
> Instructions:
> https://gitlab.alelec.net/corona/mingw-packages/wikis/openocd_msys2_mingw_w64
>

Once potential problem could be with libusb-compat. It is not
officially supported by the libusb project under Windows since
there is this libusb-win32 project which is still alive.

I happen to be both the admin of libusb-win32 and libusb. Even
though we do not plan anything new things to libusb-win32 it still
enjoy very wide use and so far we do not see any need to
have the new libusb-compat under Windows since it
will not offer many advantages compared to libusb-win32.
In fact it can not support the full feature of libusb-win32
API which is a superset of libusb-0.1/libusb-compat.

-- 
Xiaofan

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to