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
> >
>
> git clone https://github.com/apple/swift.git
> cd swift
> git checkout swift-4.0.2-RELEASE
> patch -p1 < swift.patch
> cd ..
I'm having trouble applying the patches. I think it is due to the
Windows line endings. Is there an easy way to work around this to
apply the patches?
__
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 build LLVM, clang and Sw
Hi Sangjin,
Thank you!
I will check https://github.com/tinysun212/swift-windows/commits/swift-
windows-4.0-branch
2017-12-18 14:18 GMT+09:00 Sangjin Han via swift-dev :
> For the MinGW-w64 system, swift-4.0-branch (up to 4.0.3-RELEASE) is merged
> into https://github.com/tinysun212/swift-windows
Hi Eric,
> Do you mind elaborating on how you got it built with MSVC?
Sure. I succeeded to build LLVM, clang and Swift compiler with the tag of
swift-4.0.2-RELEASE.
LLVM and clang seem to work okay and Swift compiler can compile swift
sources but the generated exectables crash.
Here's my procedur
For the MinGW-w64 system, swift-4.0-branch (up to 4.0.3-RELEASE) is merged
into
https://github.com/tinysun212/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 compile
On 12/14/17, Kazuki Ohara via swift-dev wrote:
> 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 c