summaryrefslogtreecommitdiff
path: root/readme-cosmo.txt
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2025-04-26 12:30:26 +0200
committerFabrice Bellard <fabrice@bellard.org>2025-04-26 12:30:26 +0200
commit19abf1888db5884a5758036ff6e7fa2b340acedc (patch)
tree3e1db1c74e1765a11ecf47705c9873e858608ef2 /readme-cosmo.txt
parent1b13fa6450ac040e4b171291280f87f169c1c6ad (diff)
downloadquickjs-19abf1888db5884a5758036ff6e7fa2b340acedc.tar.gz
quickjs-19abf1888db5884a5758036ff6e7fa2b340acedc.zip
new release
Diffstat (limited to 'readme-cosmo.txt')
-rw-r--r--readme-cosmo.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/readme-cosmo.txt b/readme-cosmo.txt
new file mode 100644
index 0000000..fb524a2
--- /dev/null
+++ b/readme-cosmo.txt
@@ -0,0 +1,21 @@
+The executables included in this archive run on Linux, Mac, Windows,
+FreeBSD, OpenBSD and NetBSD for both the ARM64 and x86_64
+architectures.
+
+Platform Notes:
+
+- if you get errors on Linux, you should disable the binfmt_misc
+ module which automatically invokes wine with Windows executable:
+
+sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/cli' # remove Ubuntu's MZ interpreter
+sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/status' # remove ALL binfmt_misc entries
+
+- Under Windows, you can rename the executables with a .exe extension.
+
+- Use the --assimilate option to build a platform specific binary for
+ better startup time:
+
+ ./qjs --assimilate
+
+- See https://github.com/jart/cosmopolitan for more information about
+ platform specific issues.