Build v86 for one program/purpose: TTS #880
-
How to build this containing a single program: eSpeak NG? Why: Web Speech API is broken; extra work is needed for I don't need everything else, just the capability to run the eSpeak NG programm and get Thanks in advance for any help with this. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Yes, I'm wondering if anyone has done this too. I'm building a linux with buildroot just to run nodejs: cemalgnlts/now-linux-build Instead of recompiling Nodejs, I'm using the prebuilt binary so it takes less time to compile I've shrunk busybox to only support a few commands. Without Nodejs it's ~4MB but not small enough. I'm sure there are many more files that Nodejs doesn't need. |
Beta Was this translation helpful? Give feedback.
-
I would suggest experimenting with QuickJS |
Beta Was this translation helpful? Give feedback.
-
Good luck. |
Beta Was this translation helpful? Give feedback.
You need to remove the addons for Node:
build.sh
inittab
Then run the
./build.sh
command.When the process is complete the linux image will be in this folder:
buildroot-2023.02/output/images/rootfs.iso9660
I am using https://buildroot.org to build the Linux image.
I've been looking for a way to make it even smaller, but more is beyond me.
I started building the project from this repo: https://github.com/humphd/browser-vm.