{"action":"opened","issue":{"url":"https://api.github.com/repos/eclipse/paho.mqtt.c/issues/5","repository_url":"https://api.github.com/repos/eclipse/paho.mqtt.c","labels_url":"https://api.github.com/repos/eclipse/paho.mqtt.c/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/paho.mqtt.c/issues/5/comments","events_url":"https://api.github.com/repos/eclipse/paho.mqtt.c/issues/5/events","html_url":"https://github.com/eclipse/paho.mqtt.c/issues/5","id":131379771,"number":5,"title":"Update Makefile to build in Cygwin","user":{"login":"jpwsutton","id":1068763,"avatar_url":"https://avatars.githubusercontent.com/u/1068763?v=3","gravatar_id":"","url":"https://api.github.com/users/jpwsutton","html_url":"https://github.com/jpwsutton","followers_url":"https://api.github.com/users/jpwsutton/followers","following_url":"https://api.github.com/users/jpwsutton/following{/other_user}","gists_url":"https://api.github.com/users/jpwsutton/gists{/gist_id}","starred_url":"https://api.github.com/users/jpwsutton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpwsutton/subscriptions","organizations_url":"https://api.github.com/users/jpwsutton/orgs","repos_url":"https://api.github.com/users/jpwsutton/repos","events_url":"https://api.github.com/users/jpwsutton/events{/privacy}","received_events_url":"https://api.github.com/users/jpwsutton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-04T15:18:48Z","updated_at":"2016-02-04T15:18:48Z","closed_at":null,"body":"migrated from Bugzilla [#486095](https://bugs.eclipse.org/bugs/show_bug.cgi?id=486095)\nstatus UNCONFIRMED severity *enhancement* in component *MQTT-C* for *1.2*\nReported in version *1.0* on platform *PC*\nAssigned to: Ian Craggs\n\nOriginal attachment names and IDs:\n- _[0001-Update-Makefile-to-support-Cygwin.patch](https://bugs.eclipse.org/bugs//attachment.cgi?id=259254)_ (ID 259254)\n- _[0001-Update-Makefile-to-support-Cygwin.patch](https://bugs.eclipse.org/bugs//attachment.cgi?id=259264)_ (ID 259264)\n\nOn 2016-01-19 06:28:14 -0500, Stavros Vagionitis wrote:\n\n> Created attachment 259254\n> Patch for updating the Makefile to build in Cygwin\n> \n> Hi all,\n> \n> Recently I needed to build the paho client library in Cygwin, but there was no support in the Makefile. So I made some changes in the Makefile and I was able to build it. I have attached a patch with the changes I made.\n> \n> Changes\n> -------\n> \n> Next following the major changes in order to build the libraries in Cygwin:\n>     - In Cygwin the libraries need executable permissions in order to work,\n>       currently during installation the libraries have only read/write\n>       permissions (`-m 0644`). Removing the option `-m 0644` from the install\n>       command, the libraries are installed with their default permissions.\n>     - The filename format of the libraries in Cygwin is different from Linux and\n>       also have different options to build shared libraries. More information can\n>       be found in https://cygwin.com/cygwin-ug-net/dll.html\n>     - The `ldconfig` utility does not exist in Cygwin, so the `install` and `uninstall`\n>       targets needed to modified.\n> \n> Testing\n> --------\n> \n> I was able to run the test and sample files. The testing has been performed on a Ubuntu 14.04 64 bit and a Windows 7 Enterprise 64 bit machine. The Windows machine had installed Cygwin 2.4.0 64 bit.\n> \n> Please review my changes.\n> \n> Regards,\n> \n> Stavros\n\nOn 2016-01-19 13:00:48 -0500, Stavros Vagionitis wrote:\n\n> Created attachment 259264\n> Latest Patch for updating the Makefile to build in Cygwin\n> \n> Ignore the previous patch, I had added accidentally the CFLAGS of the Darwin to Cygwin. With this patch I removed them.\n\n"}}