Repository navigation
|
I wonder whether someone can help me with this. I cannot seem to get a version of mlr than runs properly under cygwin. I have downloaded the source, compiled with go, and get a .exe which runs. But it doesn't understand cygwin paths. The version of go I have runs in cygwin, but clearly is creating an executable which is cygwin ignorant. I cannot seem to find a prebuilt version online. I didn't have this issue with mlr 5.10 -- but that was compiled with gcc and not go. |
Replies: 5 comments 1 reply
|
hello,
What's the command line, and what does it say?
I guess Golang's runtime itself isn't Cygwin-aware, and so are all executables that it builds.
Then you can use
I guess it's there, under the Assets: But I think these builds will also be aware about Windows-native paths only. So unless Golang gets a POSIX-on-Windows port (Cygwin, MSYS2, Midipix), I guess the only way would be to translate paths by yourself. But hey, I just tried to reproduce your issue on Cygwin + MSYS2: ... and it looks like MSYS2 behaves in a bit different way, and |
|
my command line looks like: |
|
Thanks. BTW, could you migrate to MSYS2 (the Cygwin-like environment + a package manager) by chance?
EDIT: Fixed a typos and things, added single quotes around the Unix-like path and external double quotes around the resulting Windows-native path (in case they contain spaces). In case your paths contain no spaces, you can remove all |
|
Hello sskras Thanks for responses |




Hello sskras
Yes, thanks, and I was aware of cygpath. It's a bit clumsy, and if, as I do, you have bash scripts everywhere with calls to mlr then it's just a lot of work, with the downside that some future combo of go/miller will revert back to understanding cygwin paths.
I'm sure there must be a way to get "go"to do the right thing, but I know little about that language and nothing about howto configure it.
Thanks for responses