From 2ddff18b9b59a1d358cbf231458e355cc31afd46 Mon Sep 17 00:00:00 2001 From: come2arkside <69916703+come2darkside@users.noreply.github.com> Date: Tue, 19 Dec 2023 14:00:17 +0300 Subject: [PATCH] Update Compiler.bat I think the '-static' argument will help increase compatibility and avoid the 'libstdc++-6 not found' error. It would also be beneficial to add the '-static-libgcc' and '-static-libstdc++' options for users who are compiling with MinGW instead of the GNU compiler. --- Compiler.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Compiler.bat b/Compiler.bat index b000a0f..5aeaa22 100644 --- a/Compiler.bat +++ b/Compiler.bat @@ -1,5 +1,5 @@ @ECHO OFF nasm -f win64 .\Assembly.asm -o .\Assembly.obj -g++ -o cordyceps.exe main.cpp Assembly.obj -del *.obj \ No newline at end of file +g++ -o cordyceps.exe main.cpp Assembly.obj -static +del *.obj