{"action":"created","issue":{"url":"https://api.github.com/repos/waf-project/waf/issues/1681","labels_url":"https://api.github.com/repos/waf-project/waf/issues/1681/labels{/name}","comments_url":"https://api.github.com/repos/waf-project/waf/issues/1681/comments","events_url":"https://api.github.com/repos/waf-project/waf/issues/1681/events","html_url":"https://github.com/waf-project/waf/issues/1681","id":125186493,"number":1681,"title":"Ifort linking flags on Windows (ifort_modifier_win32)","user":{"login":"haraldkl","id":1296398,"avatar_url":"https://avatars.githubusercontent.com/u/1296398?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldkl","html_url":"https://github.com/haraldkl","followers_url":"https://api.github.com/users/haraldkl/followers","following_url":"https://api.github.com/users/haraldkl/following{/other_user}","gists_url":"https://api.github.com/users/haraldkl/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldkl/subscriptions","organizations_url":"https://api.github.com/users/haraldkl/orgs","repos_url":"https://api.github.com/users/haraldkl/repos","events_url":"https://api.github.com/users/haraldkl/events{/privacy}","received_events_url":"https://api.github.com/users/haraldkl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/waf-project/waf/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2016-01-06T14:32:04Z","updated_at":"2016-01-18T20:38:28Z","closed_at":null,"body":"Yet another question regarding Fortran on Windows.\r\n\r\nIfort defines the win32 modifier to be the one from fc_config, which sets Linking flags with --Wl, however on Windows the ifort compiler does not take these options, instead it should be /Qoption,link. Thus, I think, the modifier should be different. However, I don't even know whether the options provided are available with the ifort linker. Thus, I cancelled them out completely. The diff looks like this:\r\n\r\n     diff -r 50c9a495a5b3 waflib/Tools/ifort.py\r\n     --- a/waflib/Tools/ifort.py\tWed Jan 06 14:53:18 2016 +0100\r\n     +++ b/waflib/Tools/ifort.py\tWed Jan 06 15:25:04 2016 +0100\r\n    @@ -20,7 +20,17 @@\r\n \r\n     @conf\r\n     def ifort_modifier_win32(conf):\r\n    -\tfc_config.fortran_modifier_win32(conf)\r\n    +\t\"\"\"Define ifort flags for the windows platforms\"\"\"\r\n    +\tv = conf.env\r\n    +\tv['fcprogram_PATTERN'] = v['fcprogram_test_PATTERN']  = '%s.exe'\r\n    +\r\n    +\tv['fcshlib_PATTERN']   = '%s.dll'\r\n    +\tv['implib_PATTERN']    = 'lib%s.dll.a'\r\n    +\r\n    +\tv['FCFLAGS_fcshlib']   = []\r\n    +\r\n    +\tv.append_value('FCFLAGS_fcshlib', ['-DDLL_EXPORT']) # TODO adding nonstandard defines like this DLL_EXPORT is not a good idea\r\n    +\r\n \r\n     @conf\r\n     def ifort_modifier_darwin(conf):"},"comment":{"url":"https://api.github.com/repos/waf-project/waf/issues/comments/172647577","html_url":"https://github.com/waf-project/waf/issues/1681#issuecomment-172647577","issue_url":"https://api.github.com/repos/waf-project/waf/issues/1681","id":172647577,"user":{"login":"haraldkl","id":1296398,"avatar_url":"https://avatars.githubusercontent.com/u/1296398?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldkl","html_url":"https://github.com/haraldkl","followers_url":"https://api.github.com/users/haraldkl/followers","following_url":"https://api.github.com/users/haraldkl/following{/other_user}","gists_url":"https://api.github.com/users/haraldkl/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldkl/subscriptions","organizations_url":"https://api.github.com/users/haraldkl/orgs","repos_url":"https://api.github.com/users/haraldkl/repos","events_url":"https://api.github.com/users/haraldkl/events{/privacy}","received_events_url":"https://api.github.com/users/haraldkl/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T20:38:28Z","updated_at":"2016-01-18T20:38:28Z","body":"I'll give it a try, but I don't think it resolves the shared library issue, that rather seems to be another thing."}}