Skip to content

Compare: Porting to Windows

New page
Showing with 236 additions and 94 deletions.
  1. +25 −7 All-required-libraries.md
  2. +0 −28 Compiler-error-messages.md
  3. +5 −5 Compiler-internals.md
  4. +89 −0 Crystal-Shards-for-Ruby-Gems.md
  5. +46 −4 Crystal-for-Rubyists.md
  6. +42 −1 FAQ.md
  7. +8 −0 Home.md
  8. +7 −0 Online-playgrounds.md
  9. +2 −2 Porting-to-Windows.md
  10. +10 −3 Static-Linking.md
  11. +0 −44 Threads-support.md
  12. +2 −0 Used-in-production.md
4 changes: 2 additions & 2 deletions Porting-to-Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Replace `C:\Crystal` with the directory the libraries script was run in.

## VS 2019

With Visual Studio 2019 you need to use the *x86_64 Cross Tools Command Promt for vs 2019* running the following commands:
With Visual Studio 2019 you need to use the *x86_64 Cross Tools Command Prompt for vs 2019* running the following commands:

```bash
> cd C:\Crystal\
Expand Down Expand Up @@ -107,7 +107,7 @@ Download and unpack [libpcre 8.42](https://ftp.pcre.org/pub/pcre/pcre-8.42.tar.g

```terminal
mkdir build && cd build
cmake .. -G "Visual Studio 15 2017 Win64" -DBUILD_SHARED_LIBS=OFF -DPCRE_SUPPORT_UTF=ON ^
cmake .. -G "Visual Studio 15 2017 Win64" -DBUILD_SHARED_LIBS=OFF -DPCRE_SUPPORT_UNICODE_PROPERTIES=ON ^
-DPCRE_SUPPORT_JIT=ON -DPCRE_STATIC_RUNTIME=ON
cmake --build . --config release
```
Expand Down