From 4f43914d8c3d9dfe4b8ece484e63f943922229bb Mon Sep 17 00:00:00 2001 From: Patrick_Pluto Date: Fri, 23 Aug 2024 11:50:52 +0200 Subject: [PATCH] Update compiling.txt --- compiling.txt | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/compiling.txt b/compiling.txt index 4e7b524..421efe1 100644 --- a/compiling.txt +++ b/compiling.txt @@ -4,11 +4,19 @@ Copyright (c) 2024 Patrick_Pluto. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". +Unix-like systems: -You need use a Unix-like environment with gcc and make. +You need to install gcc and make. -To compile, simply run "make", which will then create a bin subfolder with the executable. +Then, in order to compile, simply run "make", which will then create a bin subfolder with the executable. -For Windows with msys2, run "make windows" instead. +To remove this bin folder, run "make clean". -Run "make clean" to remove the bin folder. +Windows: + +You will need to install MSYS2, then inside of MSYS2, run: + +"pacman -Syu" +"pacman -S mingw-w64-ucrt-x86_64-g++ make" + +Then you can, similarly to Unix-like systems run "make windows", to generate an .exe file. \ No newline at end of file