Skip to content
Jesse Johnson edited this page Jul 26, 2014 · 38 revisions

Compile using MinGW

Install MinGW and MSYS (download page).

mingw-get install autotools

Install PCRE for Windows. Make sure you install it to /mingw, which is C:\MinGW by default. See the MinGW quickstart guide for more information on paths.

Run build.sh.

###If you have chocolatey installed this can be quite easy

cinst mingw
REM Add C:\mingw\bin to your path.
mingw-get install autotools
REM Get PCRE.
git clone git://github.com/ggreer/the_silver_searcher.git
cd the_silver_searcher
./build.sh

PCRE from here: http://sourceforge.net/projects/gnuwin32/files/pcre/

  • by default it installs to: C:\Program Files (x86)\GnuWin32

Native Visual Studio port

Or you can use native Visual Studio port: https://github.com/kjk/the_silver_searcher (compile instructions at: https://github.com/kjk/the_silver_searcher/blob/master/README-WINDOWS.md)

Clone this wiki locally