[swift-dev] How to run Swift on Windows

2017-12-14 Thread Kazuki Ohara via swift-dev
Hi, I'm interested in running Swift on Windows. I found the document to build the Swift compiler for Windows ( https://github.com/apple/swift/blob/master/docs/Windows.md) and tried it. I managed to build it with MSVC, but the resulting compiler could not generate executables run properly. (The ex

Re: [swift-dev] [Swift Forums] How to run Swift on Windows

2017-12-17 Thread Kazuki Ohara via swift-dev
Hi, Phil I will look into the project. Thank you, Kazuki 2017-12-18 3:38 GMT+09:00 Phil J. Łaszkowicz : > siilime Phil J. Łaszkowicz > > December 17 > > That project has now included support for Swift 4. > > Officially you’

Re: [swift-dev] How to run Swift on Windows

2017-12-18 Thread Kazuki Ohara via swift-dev
ot;^ -DICU_UC_LIB_NAME="icuuc"^ -DICU_UC_LIBRARY_DIRS="%swift_source_dir%/icu/lib64"^ -DICU_UC_INCLUDE_DIRS="%swift_source_dir%/icu/include"^ -DICU_I18N_LIB_NAME="icuin"^ -DICU_I18N_LIBRARY_DIRS="%swift_source_dir%/icu/lib64"^ -DICU_I18N_INCLU

Re: [swift-dev] How to run Swift on Windows

2017-12-18 Thread Kazuki Ohara via swift-dev
/swift-windows/commits/swift- > windows-4.0-branch and it is successfully compiled. > > If I make the Foundation module work to some extent, I will share the > binary and submit a PR for the compiler. > > 2017-12-18 10:18 GMT+09:00 Eric Wing via swift-dev : > >> On 12/14/17,

Re: [swift-dev] How to run Swift on Windows

2017-12-18 Thread Kazuki Ohara via swift-dev
There was small mistake. Wrong: set swift_source_dir=c:\swift Correct: set swift_source_dir=c:/swift Thanks, Kazuki 2017-12-19 2:00 GMT+09:00 Kazuki Ohara via swift-dev : > Hi Eric, > > > Do you mind elaborating on how you got it built with MSVC? > > Sure. I succeeded to bui

Re: [swift-dev] How to run Swift on Windows

2017-12-21 Thread Kazuki Ohara via swift-dev
Hi Eric, Did you try git config --global core.autocrlf true ? https://www.git-scm.com/book/en/v2/Customizing-Git-Git-Configuration It appends CR+LF to end of all lines when you checkout source files. 2017-12-21 9:06 GMT+09:00 Eric Wing : > > > > git clone https://github.com/apple/swift.git > >