You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/feature_depreaction.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,8 @@ assignees: ''
9
9
10
10
Tracking issue for the deprecation and removal of <FEATURE>.
11
11
12
-
The process for deprecating and removing features from emscripten is laid out out in https://github.com/emscripten-core/emscripten/blob/main/docs/process.md#deprecating-settings-and-features.
12
+
The process for deprecating and removing features from emscripten is laid out
13
+
in https://github.com/emscripten-core/emscripten/blob/main/CONTRIBUTING.md#deprecating-settings-and-features.
13
14
14
15
At any point in the process we may decide to delay or abort the deprecation and close this issue.
Emscripten compiles C and C++ to [WebAssembly](https://webassembly.org/) using
13
13
[LLVM](https://en.wikipedia.org/wiki/LLVM) and
@@ -26,8 +26,58 @@ While Emscripten mostly focuses on compiling C and C++ using
26
26
compilers (for example, Rust has Emscripten integration, with the
27
27
`wasm32-unknown-emscripten` target).
28
28
29
-
License
30
-
-------
29
+
30
+
# Getting Started
31
+
32
+
For detailed instructions and tutorials, visit the [Emscripten Website](https://emscripten.org).
33
+
34
+
## Installation
35
+
36
+
There are two primary ways to install Emscripten:
37
+
38
+
1.**Using the Emscripten SDK (emsdk) (Recommended)**
39
+
The easiest way to get started is by using the Emscripten SDK. Follow the instructions on the [downloads page](https://emscripten.org/docs/getting_started/downloads.html) to install it.
40
+
41
+
2.**From a Git Checkout (Manual Installation)**
42
+
If you have cloned the repository from Git, you can install the dependencies manually and then run the bootstrap script:
43
+
```bash
44
+
./bootstrap.py
45
+
```
46
+
For more details, see the [developer guide](https://emscripten.org/docs/contributing/developers_guide.html).
47
+
48
+
## Using the compiler
49
+
50
+
Run `emcc` like you would `gcc` or `clang`:
51
+
52
+
```bash
53
+
$ emcc hello.c -o hello.js
54
+
$ node hello.js
55
+
Hello, world!
56
+
```
57
+
58
+
Emscripten will compile your code into a WebAssembly module along with a
59
+
JavaScript file that can load and run it. You can then run the resulting
60
+
JavaScript in your browser or under [Node.js](https://nodejs.org/) (or
61
+
[Deno](https://deno.com/) or [Bun](https://bun.sh/)).
62
+
63
+
Emscripten can also generate a sample HTML page that then loads the JavaScript:
64
+
65
+
```bash
66
+
$ emcc hello.c -o hello.html
67
+
```
68
+
69
+
You can then serve the generated `hello.html` using the `emrun` tool, or a
70
+
web server of your choosing.
71
+
72
+
73
+
# Contributing
74
+
75
+
For information on how to contribute to the project, see
76
+
[CONTRIBUTING.md](CONTRIBUTING.md) and the [Contributing section on the
0 commit comments