This is an automated email from Gerrit.

Paul Fertser ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2507

-- gerrit

commit bc7f713d39fd14996ce8fb4bf5c507e3483dc66f
Author: Paul Fertser <[email protected]>
Date:   Tue Jan 27 17:56:28 2015 +0300

    README.Windows: recommend MSYS2 as the preferred method
    
    Thanks to Andrew Leech and Ray Donnelly OpenOCD is now part of the
    official MSYS2 repository.
    
    The only issue known so far is that there is no PKGBUILD available for
    libftdi, but it should be trivial to prepare one. Please volunteer.
    
    Change-Id: I100d2421650b61d39df0aa701c8da7dfc6073195
    Signed-off-by: Paul Fertser <[email protected]>

diff --git a/README.Windows b/README.Windows
index a009fa6..63209ca 100644
--- a/README.Windows
+++ b/README.Windows
@@ -1,23 +1,25 @@
-Building OpenOCD for Windows
-----------------------------
+MSYS2 automatic install
+-----------------------
 
-You can build OpenOCD for Windows natively with either MinGW-w64/MSYS
-or Cygwin (plain MinGW might work with --disable-werror but is not
-recommended as it doesn't provide enough C99 compatibility).
-Alternatively, one can cross-compile it using MinGW-w64 on a *nix
-host. See README for the generic instructions.
+MSYS2 is a Cygwin-derived software distro for Windows using Arch
+Linux's Pacman. It allows users to perform package management in a way
+similar to modern GNU/Linux distributions or Homebrew on OS X. See
 
-Native MinGW-w64/MSYS compilation
------------------------------
+  https://msys2.github.io/
 
-As MSYS doesn't come with pkg-config pre-installed, you need to add it
-manually. The easiest way to do that is to download pkg-config-lite
-from:
+for quickstart instructions. Once you proceed with the installation,
+simply run
 
-  http://sourceforge.net/projects/pkgconfiglite/
+  pacman -S openocd-git
+
+and that will take care of downloading, building and installing all
+the dependencies and OpenOCD itself. This also provides for everything
+necessary to self-build later, should you need to test an out-of-tree
+patch or work on some improvement.
+
+For the recommendations on building OpenOCD without MSYS2 refer to the
+end of this document.
 
-Then simply unzip the archive to the root directory of your MinGW-w64
-installation.
 
 USB adapters
 ------------
@@ -30,21 +32,50 @@ is to use the latest Zadig installer:
 
   http://zadig.akeo.ie
 
+
 For the old drivers that use libusb-0.1 API you might need to link
 against libusb-win32 headers and install the corresponding driver with
-Zadig.
+Zadig. This is not the case for the MSYS2 port which is using
+libusb-compat and thus can use WinUSB for all libusb-based drivers.
+
 
 If you need to use the same adapter with other applications that may
 require another driver, a solution for Windows Vista and above is to
 activate the IgnoreHWSerNum registry setting for the USB device.
 
+
 That setting forces Windows to associate the driver per port instead of
 per serial number, the same behaviour as when the device does not contain
 a serial number. So different drivers can be installed for the adapter on
 different ports and you just need to plug the adapter into the correct
 port depending on which application to use.
 
+
 For more information, see:
 
   
http://msdn.microsoft.com/en-us/library/windows/hardware/jj649944(v=vs.85).aspx
   
http://www.ftdichip.com/Support/Knowledgebase/index.html?ignorehardwareserialnumber.htm
+
+
+Building OpenOCD for Windows
+----------------------------
+
+You can build OpenOCD for Windows natively with either MinGW-w64/MSYS
+or Cygwin (plain MinGW might work with --disable-werror but is not
+recommended as it doesn't provide enough C99 compatibility).
+Alternatively, one can cross-compile it using MinGW-w64 on a *nix
+host. See README for the generic instructions and
+contrib/cross-build.sh script.
+
+
+Native MinGW-w64/MSYS compilation
+---------------------------------
+
+As MSYS doesn't come with pkg-config pre-installed, you need to add it
+manually. The easiest way to do that is to download pkg-config-lite
+from:
+
+  http://sourceforge.net/projects/pkgconfiglite/
+
+Then simply unzip the archive to the root directory of your MinGW-w64
+installation.

-- 

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to