Hacker News new | ask | show | jobs
by sqs 4325 days ago
We would love to have Windows support in srclib, but we honestly have no idea what (or how much effort) it would take. It might work in Cygwin as-is. If you or anybody else wants to try it, or at least identify issues, we would help.

One related thing is a lot of folks want to add C# support. I assume that running Roslyn requires Windows, which'd require Windows support for srclib. https://github.com/sourcegraph/sourcegraph.com/issues/157

2 comments

Actually, Roslyn targets Mono as a first-class citizen, so it'll run on any Mono-supported platform :)

Not sure how much progress they've made on that yet though as it's not release ready.

Oh, that is fantastic!
From a quick try, getting it to build from source on Windows requires a minor modifications to task2/logger.go to remove the dependency on syslog and that's about it. But then src.exe toolchain -install-std fails on symlink creation via ln -s C\sourcegraph.com\sourcegraph\srclib-go C\sourcegraph.com\sourcegraph\srclib-go (looks odd btw). No stack trace to chase down to replace that with mklink, but it shouldn't be to hard to trace down.
Ah, thanks for trying this. It's probably making some Unix assumptions in the pathname creation.