buildroot and emscripten

22 views
Skip to first unread message

Matt Flax

unread,
Jul 15, 2020, 6:26:30 PM7/15/20
to emscripten-discuss
Right now, to build a more complex software system with emscripten, it is difficult. Are there any auto-build systems for free or other software out there which support emscripten ?

To release a more complex WASM tool, like libsox (https://www.npmjs.com/package/sox-element) I have a hand written script to build all of its dependencies.

It would be really useful if we could select and build more complex WASM packages and their dependencies automatically using something like buildroot.

For example, say I wanted librsync and all its dependencies to be built so I can integrate it into a WASM package. Or ffmpeg and wanted the buildroot system to build any dependencies.

One idea is to work emscripten into buildroot's external toolchain / buildtools . This would allow one to select a number of packages and have their shared libraries all built for us and installed into a system directory in the standard development approach (/usr/include, /usr/lib, pkg-config, etc.).


Matt

Sam Clegg

unread,
Jul 17, 2020, 7:39:07 PM7/17/20
to emscripte...@googlegroups.com
This idea has come up before and I think there is general support for this direction:

See:
and:

I personally would like to first move towards a more conventional use of `--sysroot` as a first step.

cheers,
sam

--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/962f384c-b9f8-483a-8ebf-3fc9c30166eao%40googlegroups.com.

Matt Flax

unread,
Jul 18, 2020, 9:09:16 PM7/18/20
to emscripte...@googlegroups.com
Sure - the conventional "--sysroot" can be used if it works.

I replied to that issue : 9414

Matt

Reply all
Reply to author
Forward
0 new messages