An open API service indexing awesome lists of open source software.

https://github.com/permutationlock/emscripten_c_examples

Ground up examples of cross-compiling C applications to the web with emcc.
https://github.com/permutationlock/emscripten_c_examples

Last synced: about 2 months ago
JSON representation

Ground up examples of cross-compiling C applications to the web with emcc.

Awesome Lists containing this project

README

        

# Cross-compiling C with Emscripten

A collection of examples using [clang][5] and [Emscripten][6] to
build C projects targeting the web. Examples were pulled from an
[article I wrote][11].

## Dependencies

You will need [clang][5], [Emscripten][6], and [lld][10] to build
and link the projects. The web server for testing the projects uses
[Go][7]. [Make][3] is used for build scripts.

[1]: https://github.com/raysan5/raylib
[3]: https://www.gnu.org/software/make/
[5]: https://clang.llvm.org/
[6]: https://emscripten.org/
[7]: https://go.dev/
[8]: https://git-scm.com/
[9]: https://lld.llvm.org/
[10]: https://clang.llvm.org/
[11]: https://musing.permutationlock.com/posts/blog-emscripten_c_applications.html