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.
- Host: GitHub
- URL: https://github.com/permutationlock/emscripten_c_examples
- Owner: permutationlock
- License: mit
- Created: 2023-02-16T23:42:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T10:45:29.000Z (about 2 years ago)
- Last Synced: 2025-01-14T15:42:04.553Z (4 months ago)
- Language: C
- Size: 510 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.MIT
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