ggreer / the_silver_searcher

A code-searching tool similar to ack, but faster.
http://geoff.greer.fm/ag/
Apache License 2.0
25.93k stars 1.42k forks source link

Windows doesn't have pthreads #120

Open SamHasler opened 11 years ago

SamHasler commented 11 years ago

as per http://news.ycombinator.com/item?id=4844165

Since I added pthreads, there's no chance that it builds on Windows anymore. I don't have a Windows machine or VM to test stuff out on. Patches welcome, though!

(Creating this in case anyone is checks for windows issues)

emberian commented 11 years ago

There's http://sourceware.org/pthreads-win32/

scw commented 11 years ago

As it stands, the Windows build instructions are broken. Could someone with knowledge of this domain update them to include the pthreads instructions?

mcandre commented 11 years ago

:+1: Yes, please! If someone manages to build this in Windows, please consider releasing a Chocolatey package, the_silver_searcher.

decaff commented 9 years ago

This issue, I think, can be closed now that a Wiki has been added for Windows.

I used the instructions in the Wiki to build ag.exe in a cygwin environment. No problems. The Wiki even mentions a native DevStudio port, though I have not tried it.