{"action":"created","issue":{"url":"https://api.github.com/repos/magit/magit/issues/2392","labels_url":"https://api.github.com/repos/magit/magit/issues/2392/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/2392/comments","events_url":"https://api.github.com/repos/magit/magit/issues/2392/events","html_url":"https://github.com/magit/magit/issues/2392","id":116630594,"number":2392,"title":"compilation under cygwin fails","user":{"login":"pete-lee","id":3409316,"avatar_url":"https://avatars.githubusercontent.com/u/3409316?v=3","gravatar_id":"","url":"https://api.github.com/users/pete-lee","html_url":"https://github.com/pete-lee","followers_url":"https://api.github.com/users/pete-lee/followers","following_url":"https://api.github.com/users/pete-lee/following{/other_user}","gists_url":"https://api.github.com/users/pete-lee/gists{/gist_id}","starred_url":"https://api.github.com/users/pete-lee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pete-lee/subscriptions","organizations_url":"https://api.github.com/users/pete-lee/orgs","repos_url":"https://api.github.com/users/pete-lee/repos","events_url":"https://api.github.com/users/pete-lee/events{/privacy}","received_events_url":"https://api.github.com/users/pete-lee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magit/magit/labels/00%20bug%20windows","name":"00 bug windows","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-12T20:12:09Z","updated_at":"2015-11-12T22:38:16Z","closed_at":null,"body":"in default.mk:\r\nLOAD_PATH ?= -L $(TOP)/lisp -L $(shell cygpath --mixed $(DASH_DIR))\r\n\r\ndoesn't work and generates windows sytle paths.  So compilation fails because it can't find dash.\r\n\r\nRemoving the \"--mixed\" option allows compilation to finish.\r\n"},"comment":{"url":"https://api.github.com/repos/magit/magit/issues/comments/156259553","html_url":"https://github.com/magit/magit/issues/2392#issuecomment-156259553","issue_url":"https://api.github.com/repos/magit/magit/issues/2392","id":156259553,"user":{"login":"pete-lee","id":3409316,"avatar_url":"https://avatars.githubusercontent.com/u/3409316?v=3","gravatar_id":"","url":"https://api.github.com/users/pete-lee","html_url":"https://github.com/pete-lee","followers_url":"https://api.github.com/users/pete-lee/followers","following_url":"https://api.github.com/users/pete-lee/following{/other_user}","gists_url":"https://api.github.com/users/pete-lee/gists{/gist_id}","starred_url":"https://api.github.com/users/pete-lee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pete-lee/subscriptions","organizations_url":"https://api.github.com/users/pete-lee/orgs","repos_url":"https://api.github.com/users/pete-lee/repos","events_url":"https://api.github.com/users/pete-lee/events{/privacy}","received_events_url":"https://api.github.com/users/pete-lee/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T22:38:16Z","updated_at":"2015-11-12T22:38:16Z","body":"This was compiling from cygwin bash shell.  I've avoided running anything via cmd.exe as I've found mixing the two to be problematic (particularly with path issues as you point out).\r\n\r\nThe make version is:\r\n$ make --version\r\nGNU Make 4.1\r\n\r\n$ cygpath --version\r\ncygpath (cygwin) 2.2.1\r\n\r\n$ cygpath c:/foo\r\n/cygdrive/c/foo\r\n\r\n$ cygpath --mixed c:/foo\r\nC:/foo\r\n\r\n$ cygpath --mixed c:\\\\foo\r\nC:/foo\r\n\r\n--mixed seems to just normalize to forward slashes, but preserves \"c:\".\r\n\r\nI'm not sure when I last updated cygwin... so perhaps cygpath impl has changed at some point.\r\n\r\nLet me know if there's anything else I can help with."}}