New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-34] Port Swift to Windows #42657
Comments
Comment by Unai Landa (JIRA) Even if not done, if would be great to provide a "path to follow" for the community in the sense of a task break down and/or pending dependencies form clang/llvm that could make this not possible at the moment. |
Comment by Han Sangjin (JIRA) Ignoring the difference between 32bit and 64bit, I have seen several triples for windows, Each triple has different compile environment and runtime for building and running, althogh the object files and executables have same file format, So, I think 'Porting to Windows' may be splitted into 'Porting to Windows/MSVC', 'Porting to Windows/Cygnus', 'Porting to Windows/Mingw', etc. And, each porting effort can be classified as follows,
|
Comment by Hitster GTD (JIRA) If there is a Windows port being worked on, why spend effort on anything except for *-windows-msvc? I would have thought the goal of a language platform is to be as seamless as possible and requiring the least amount of "moving parts" as possible. Considering a port to *-windows-mingw, *-windows-cygnus, etc. just means that the port becomes dependent on more third-party frameworks. |
Comment by Stefan Popp (JIRA) Is anyone aware of this project here http://swiftforwindows.codeplex.com / https://github.com/tinysun212/swift-windows/tree/swift-msvc-20160507 ? |
Comment by Han Sangjin (JIRA) I knew the github's swift-windows, but I didn't know the swiftforwindows.codeplex.com. That's interesting. Thanks for your information. |
Not sure how valuable that would be. It complicates things to have different upstream for the ports. Furthermore, most of the MSVC support is merged into mainline (theres some work needed to fix the last few things). I think we can do the same with cygwin, and just work from the same tree. |
The MSVC port is pretty much done. There is ongoing work to get the tests passing, but a complete build works. Furthermore, the MSVC build has been verified to be able to build and run programs written in swift on Windows. The cygwin port seems to be pretty similarly far along. I'm marking this as done for now. |
Additional Detail from JIRA
md5: f4b64a255a413f9bd9346ba92309927c
relates to:
Issue Description:
Port Swift to Windows. This effectively breaks into a few ports (see linked issues) but the important ones being:
❌ Port to Visual Studio (MSVC)
❌ Port to Cygwin
This is actively being worked on here by tinysun (JIRA User): https://github.com/tinysun212/swift-windows
The text was updated successfully, but these errors were encountered: