Update compiling.txt
This commit is contained in:
parent
ed24e23000
commit
4f43914d8c
1 changed files with 12 additions and 4 deletions
|
@ -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".
|
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.
|
Reference in a new issue