3 ms·
Pretty sure you can build it yourself from https://github.com/WebAssembly/wasi-libc https://github.com/WebAssembly/wasi-libc given that https://github.com/WebAs
by fabrice_d 5y ago
Pretty sure you can build it yourself from https://github.com/WebAssembly/wasi-libc https://github.com/WebAssembly/wasi-libc given that https://github.com/WebAssembly/wasi-libc/commit/ad5133410f66b93a2381db5b542aad5e0964db96 https://github.com/WebAssembly/wasi-libc/commit/ad5133410f66... is a contribution from a MoCo employee doing a lot of work around toolchains.
- floatboth 5y agoThere's also the https://github.com/WebAssembly/wasi-sdk https://github.com/WebAssembly/wasi-sdk repo which is kind of a meta-build-system for all this. But in FreeBSD we build all the pieces directly, here's our build recipes (with some hacks due to llvm's cmake code being stupid sometimes): compiler-rt (from llvm): https://github.com/freebsd/freebsd-ports/blob/main/devel/wasi-compiler-rt13/Makefile https://github.com/freebsd/freebsd-ports/blob/main/devel/was... libc (from what you linked): https://github.com/freebsd/freebsd-ports/blob/main/devel/wasi-compiler-rt13/Makefile https://github.com/freebsd/freebsd-ports/blob/main/devel/was... libc++ (from llvm): https://github.com/freebsd/freebsd-ports/blob/main/devel/wasi-compiler-rt13/Makefile https://github.com/freebsd/freebsd-ports/blob/main/devel/was...
- GekkePrutser 5y agoYou're responsible for making Firefox work on FreeBSD? Thank you! I really appreciate your work and I use it every day.
- floatboth 5y agoI'm not part of gecko@ but I wrote the devel/wasi-* ports and I've contributed to Firefox itself on a few occasions (touchpad scrolling on GTK and partial invalidation for EGL) :)
- bscphil 5y agoLooks like Arch Linux is building it themselves with --with-wasi-sysroot. The changes they made to the build script for the 95.0 release are pretty instructive: https://github.com/archlinux/svntogit-packages/commit/532ac43e3b9eb66f5264ba934d9e0d367b556170 https://github.com/archlinux/svntogit-packages/commit/532ac4... Hopefully Fedora manage to implement this to their satisfaction in the near future, although requiring extremely recent releases of build tools might be a blocker for some distros.