[swift-dev] Swift port to Windows : Offering help!

Sangjin Han tinysun.net at gmail.com
Thu Apr 21 18:15:41 CDT 2016

I'm writing code for Windows/Cygwin port on my free time. There is no well
documented information about that. Instead I'll give you some information
and several links for you.

1. Cygwin port
  Cygwin is a POSIX environment on Windows. Porting to Cygwin is relatively
easer than Windows native. This is x86_64-unknown-windows-cygwin in llvm
target name.

  Currently, you can build the swift compiler and standard library if you
applying my 'informal' hacked patch and build manual.

  To-be tasks are verifying and sharing the build manual, porting the
autolink-extract module, passing failed test code, etc.

2. Window port
  This is x86_64-pc-windows-msvc in llvm target name, so I call this
'Windows with MSVC library' when confusing with Cygwin - Windows with
Cygwin DLL. Porting to Windows is harder than Cygwin. Swift source uses
C++11 standard with some POSIX functions, GNU extension functions as well
as platform specific codes for OS X or Linux, and the build script for
Swift supposed to run on BASH shell. To compile the Swift source, we should
use the Clang compiler for clang specific feature.

  Currently, there is a 'informal' compiler that barely compiles

  To-be tasks are the solving problems, dllimport/dllexport problem for
DLL, build script problem, plus all tasks of Cygwin's.

I'll give you related links in next post.

Han Sangjin

2016-04-22 3:29 GMT+09:00 Dmitri Gribenko <gribozavr at gmail.com>:

> CC'ing Han, the maintainer of the Cygwin port.
> On Wed, Apr 20, 2016 at 10:59 PM, Joel Van Eenwyk via swift-dev
> <swift-dev at swift.org> wrote:
> > Hi all,
> >
> > I'm a very new user of Swift and interested in finding ways to
> contribute to
> > the project. I can happily work with the Linux port of the project, but I
> > have a lot of Windows development experience and would probably be most
> > useful there. Where can I find information about the current status of a
> > Windows port (if any)? Perhaps I'm blind but finding any 'official'
> > information about a Windows version has been quite tricky. :)
> >
> > For background on me, I'm primarily a game programmer and the company I
> work
> > for (Havok) recently got acquired by Microsoft. Working on some open
> source
> > projects is just something I'm interested in exploring in my free time.
> >
> > All the best,
> >
> > --Joel
> >
> > _______________________________________________
> > swift-dev mailing list
> > swift-dev at swift.org
> > https://lists.swift.org/mailman/listinfo/swift-dev
> >
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160422/d430cf94/attachment.html>

More information about the swift-dev mailing list