readme-cosmo.txt (758B)
1 The executables included in this archive run on Linux, Mac, Windows, 2 FreeBSD, OpenBSD and NetBSD for both the ARM64 and x86_64 3 architectures. 4 5 Platform Notes: 6 7 - if you get errors on Linux, you should disable the binfmt_misc 8 module which automatically invokes wine with Windows executable: 9 10 sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/cli' # remove Ubuntu's MZ interpreter 11 sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/status' # remove ALL binfmt_misc entries 12 13 - Under Windows, you can rename the executables with a .exe extension. 14 15 - Use the --assimilate option to build a platform specific binary for 16 better startup time: 17 18 ./qjs --assimilate 19 20 - See https://github.com/jart/cosmopolitan for more information about 21 platform specific issues.