From 1c451dc8284cda6c4fe53ae4c4b7550af94e2502 Mon Sep 17 00:00:00 2001 From: ALittlePatate Date: Mon, 19 Aug 2024 14:40:54 +0200 Subject: [PATCH] add: statically linking the interpreter/lib in Release on Windows --- README.md | 3 +-- msvc/interpreter.vcxproj | 2 ++ msvc/pasm.vcxproj | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9935871..bcb2b9f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # pasm PASM is a Scripting language that i made for fun with a few constraints : -- the interpreter should be as small as possible and written without the CRT (currently ~22ko WITH CRT) +- the interpreter should be as small as possible (currently ~139ko statically linked) - the language should be able to call Windows API's - the language should be able to execute scripts from a buffer without needing a file - the language should be able to send the output of a script using sockets or stdout @@ -17,7 +17,6 @@ PASM supports pointers and arrays. The interpreter works for linux as well, but some API's are Windows only (for now). TODO : -- get rid of the CRT (so we can get a smaller PE) - blank IAT # Documentation diff --git a/msvc/interpreter.vcxproj b/msvc/interpreter.vcxproj index 7a31718..9572e0f 100644 --- a/msvc/interpreter.vcxproj +++ b/msvc/interpreter.vcxproj @@ -110,6 +110,7 @@ true stdc17 MinSpace + MultiThreaded Console @@ -143,6 +144,7 @@ true stdc17 MinSpace + MultiThreaded Console diff --git a/msvc/pasm.vcxproj b/msvc/pasm.vcxproj index 80a111c..dce9aba 100644 --- a/msvc/pasm.vcxproj +++ b/msvc/pasm.vcxproj @@ -110,6 +110,7 @@ MinSpace Size None + MultiThreaded Console @@ -149,6 +150,7 @@ MinSpace Size None + MultiThreaded Console