Re: Windows dev anyone? [was: Re: Signed DMD binaries]
On 19/08/2018 7:16 AM, Manu wrote: He genuinely believes OMF+OPTLINK should be the deliberate and preferred default that everyone should be confronted with as their first experience. It clearly improves new users experience with D. Has something changed? Yes. We're adding support (experimental) for LLD (LLVM linker) with MinGW import libraries and VC2010 as of 2.079. Which gives out of the box support for PE-COFF. Long term this should mean we can drop OMF altogether. But like 64bit support took, it'll be a while before its ready to go primary.
Re: Windows dev anyone? [was: Re: Signed DMD binaries]
On Fri, 17 Aug 2018 at 09:45, Martin Nowak via Digitalmars-d wrote: > > Well from my point of view the most important outstanding Windows tasks are: > > - help to test, debug, and fix the experimental lld/mingw toolchain > (https://dlang.org/changelog/2.079.0.html#lld_mingw) > > Once this is ready for production use it would simplify the Windows > installation and allowed us to drop optlink and OMF. Is there any reason to believe Walter would accept that? It's come up countless times. He rejects it in principle. https://github.com/dlang/dmd/pull/8347 He genuinely believes OMF+OPTLINK should be the deliberate and preferred default that everyone should be confronted with as their first experience. It clearly improves new users experience with D. Has something changed?
Re: Windows dev anyone? [was: Re: Signed DMD binaries]
On Friday, 17 August 2018 at 16:42:08 UTC, Martin Nowak wrote: - help to test, debug, and fix the experimental lld/mingw toolchain (https://dlang.org/changelog/2.079.0.html#lld_mingw) I'd be happy to test this, but where are the instructions for using it?Do I need to uninstall Visual Studio first (please no)? Mike
Re: Windows dev anyone? [was: Re: Signed DMD binaries]
On Friday, 17 August 2018 at 16:42:08 UTC, Martin Nowak wrote: On 08/17/2018 01:24 AM, Mike Franklin wrote: Well from my point of view the most important outstanding Windows tasks are: [...] Thanks. I'm currently working on getting build.d to work on Windows. https://github.com/dlang/dmd/pull/8570 https://github.com/dlang/dmd/pull/8568 https://github.com/dlang/dmd/pull/8566 https://github.com/dlang/dmd/pull/8546 I think once that's done it won't be such a huge burden to set up a development environment for Windows, and hopefully we'll see more participation. I'd be happy to add anyone remotely interested in Windows-support to our #Windows channel on slack (https://dlang.slack.com/messages/C6D5FEJ78). It's unfortunately fairly quiet atm. Joined. Mike
Windows dev anyone? [was: Re: Signed DMD binaries]
On 08/17/2018 01:24 AM, Mike Franklin wrote: > On Thursday, 16 August 2018 at 17:06:27 UTC, Martin Nowak wrote: > >> A review would be helpful. > > It looks fine to me, though, that's not saying much. If you need > someone to test something, contact me on Slack. > >> And more Windows dev-volunteers for upcoming features. > > To do what exactly? Well from my point of view the most important outstanding Windows tasks are: - help to test, debug, and fix the experimental lld/mingw toolchain (https://dlang.org/changelog/2.079.0.html#lld_mingw) Once this is ready for production use it would simplify the Windows installation and allowed us to drop optlink and OMF. - help Benjamin Thaut with the export feature This is intended to cover dllimport/dllexport, but in a single keyword without macros (more info https://dconf.org/2016/talks/thaut.html). It's a necessity for full DLL support on Windows and we also want to use explicitly exported symbols to speed up Posix binaries (by avoiding PLT indirections). - get a 64-bit VC dmd.exe into the release 64-bit builds should be fully CI-integrated (mostly already done via AppVeyor AFAIK). Integrate build script/makefile with existing Windows release build (https://github.com/dlang/installer/blob/f7ee5aeab79a800317d875b5ee2e34ec2ad8803c/create_dmd_release/build_all.d#L41-L43, and https://github.com/dlang/installer/blob/f7ee5aeab79a800317d875b5ee2e34ec2ad8803c/create_dmd_release/create_dmd_release.d#L444). I'd be happy to add anyone remotely interested in Windows-support to our #Windows channel on slack (https://dlang.slack.com/messages/C6D5FEJ78). It's unfortunately fairly quiet atm. -Martin