{"action":"created","issue":{"url":"https://api.github.com/repos/mingwpy/mingwpy/issues/23","repository_url":"https://api.github.com/repos/mingwpy/mingwpy","labels_url":"https://api.github.com/repos/mingwpy/mingwpy/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/mingwpy/mingwpy/issues/23/comments","events_url":"https://api.github.com/repos/mingwpy/mingwpy/issues/23/events","html_url":"https://github.com/mingwpy/mingwpy/issues/23","id":152036496,"number":23,"title":"request for comment: should mingwpy be build statically in future or not?","user":{"login":"carlkl","id":5476002,"avatar_url":"https://avatars.githubusercontent.com/u/5476002?v=3","gravatar_id":"","url":"https://api.github.com/users/carlkl","html_url":"https://github.com/carlkl","followers_url":"https://api.github.com/users/carlkl/followers","following_url":"https://api.github.com/users/carlkl/following{/other_user}","gists_url":"https://api.github.com/users/carlkl/gists{/gist_id}","starred_url":"https://api.github.com/users/carlkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlkl/subscriptions","organizations_url":"https://api.github.com/users/carlkl/orgs","repos_url":"https://api.github.com/users/carlkl/repos","events_url":"https://api.github.com/users/carlkl/events{/privacy}","received_events_url":"https://api.github.com/users/carlkl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mingwpy/mingwpy/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-30T15:28:46Z","updated_at":"2016-04-30T16:24:33Z","closed_at":null,"body":"please take care of the discussion on: https://github.com/conda-forge/openblas-feedstock/issues/2\r\n\r\n@tkelman completely disagrees about the way mingwpy is build right now: https://mingwpy.github.io/mingwpy.html#customizations-over-standard-mingw-builds-releases , especially the fact, that mingwpy creates so-called *statically-linked* binaries.\r\n\r\nThe standard way to build binaries creates dependencies on one or more GCC runtime DLLs.\r\n\r\nFor 64bit binaries this would be:\r\n\r\n- libgcc_s_seh-1.dll\r\n- libgfortran-3.dll\r\n- libgomp-1.dll\r\n- libquadmath-0.dll\r\n- libssp-0.dll\r\n- libstdc++-6.dll\r\n- libwinpthread-1.dll\r\n\r\nTo get rid of these dependencies mingwpy links the code statically to the binary extension files (*.pyd). Handling these dependencies within CPython is not as trivial as it seems: https://github.com/conda-forge/openblas-feedstock/issues/2#issuecomment-215972149\r\n\r\nAs an alternative to *statically building* a *non statically* mingwpy could handle these dependencies as described here:\r\n\r\nhttps://github.com/conda-forge/openblas-feedstock/issues/2#issuecomment-215970405:\r\n\r\n> An obvious solution is to create a dedicated mingw-w64 runtime package as a requirement \r\n> to all mingw-w64 or mingwpy build extensions. This package could preload all gcc runtimes \r\n> with the help of ctypes into the process space. However, there wasn't an aggrement on such \r\n> a solution in the community. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mingwpy/mingwpy/issues/comments/215976769","html_url":"https://github.com/mingwpy/mingwpy/issues/23#issuecomment-215976769","issue_url":"https://api.github.com/repos/mingwpy/mingwpy/issues/23","id":215976769,"user":{"login":"carlkl","id":5476002,"avatar_url":"https://avatars.githubusercontent.com/u/5476002?v=3","gravatar_id":"","url":"https://api.github.com/users/carlkl","html_url":"https://github.com/carlkl","followers_url":"https://api.github.com/users/carlkl/followers","following_url":"https://api.github.com/users/carlkl/following{/other_user}","gists_url":"https://api.github.com/users/carlkl/gists{/gist_id}","starred_url":"https://api.github.com/users/carlkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlkl/subscriptions","organizations_url":"https://api.github.com/users/carlkl/orgs","repos_url":"https://api.github.com/users/carlkl/repos","events_url":"https://api.github.com/users/carlkl/events{/privacy}","received_events_url":"https://api.github.com/users/carlkl/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T16:24:33Z","updated_at":"2016-04-30T16:24:33Z","body":"@stonebig, we are synchronized :smile:"}}