From f64e30e56b51b95d7c5272195de0abce170fe41e Mon Sep 17 00:00:00 2001 From: servostar <72654954+Servostar@users.noreply.github.com> Date: Tue, 4 Jun 2024 21:54:23 +0200 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index faca249..7955d30 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,16 @@ Gemstone is a programming language compiler written in C with lex and yacc. ### Windows 11 -For setup instruction see issue #30 - -Requires: -- Microsoft Build Tools 2022 (includes: CMake, MSVC) -- WinFlexBison [find it here](https://github.com/lexxmark/winflexbison) (needs to be in PATH) +#### MSYS2 +Install MSYS2 under Windows 11. Open the MingGW64 environment. +Install the following packages: +``` +pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-glib2 bison flex mingw-w64-x86_64-llvm cmake git make +``` +Clone the repository and build the gemstone compiler: +``` +cmake . && make release +``` ### GNU/Linux