Skip to content

Commit ea2059f

Browse files
authored
Update some stale information in README.md (#1190)
- Remove reference to `~/.emscripten`. We no longer use the home directory to store config information by default, either in emscripten or in emsdk. - Remove some references to `The Emscripten Command Prompt`. While I suppose this is referring to the windows-only `emcmdprompt.bat`, and I suppose it means "any shell where `activate` has been run", I think its more clear to simply avoid using the term.
1 parent 0ab1902 commit ea2059f

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

README.md

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,14 @@ important concepts to help understanding the internals of the SDK:
3636
* **SDK**: A set of tools. For example, 'sdk-1.5.6-32bit' is an SDK consisting
3737
of the tools `clang-3.2-32bit`, `node-0.10.17-32bit`, `python-2.7.5.1-32bit`
3838
and `emscripten-1.5.6`.
39-
* **Active Tool/SDK**: Emscripten stores compiler configuration in a
40-
user-specific file **~/.emscripten**. This file points to paths for
41-
Emscripten, Python, Clang and so on. If the file ~/.emscripten is configured
42-
to point to a Tool in a specific directory, then that tool is denoted as being
43-
**active**. The Emscripten Command Prompt always gives access to the currently
44-
active Tools. This mechanism allows switching between different installed SDK
45-
versions easily.
39+
* **Active Tool/SDK**: Emscripten SDK stores compiler configuration in a file
40+
called `.emscripten` within the emsdk directory. This file points to paths
41+
for Emscripten, Python, Clang and so on. If the configuration file points to a
42+
Tool in a specific directory, then that tool is denoted as being
43+
**active**. This mechanism allows switching between different installed
44+
tools and SDKs.
4645
* **emsdk**: This is the name of the manager script that Emscripten SDK is
47-
accessed through. Most operations are of the form `emsdk command`. To access
48-
the emsdk script, launch the Emscripten Command Prompt.
46+
accessed through. Most operations are of the form `emsdk <command>`.
4947

5048
## System Requirements
5149

@@ -179,18 +177,6 @@ activate <tool/sdk name>`. Activating a tool will set up `~/.emscripten` to
179177
point to that particular tool. On Windows, you can pass the option `--permanent` to
180178
the `activate` command to register the environment permanently for the current user. Use `--system` to do this for all users.
181179

182-
### How do I build multiple projects with different SDK versions in parallel?
183-
184-
By default, Emscripten locates all configuration files in the home directory of
185-
the user. This may be a problem if you need to simultaneously build with
186-
multiple Emscripten compiler versions, since the user home directory can only be
187-
configured to point to one compiler at a time. This can be overcome by
188-
specifying the '--embedded' option as a parameter to 'emsdk activate', which
189-
will signal emsdk to generate the compiler configuration files inside the emsdk
190-
root directory instead of the user home directory. Use this option also when it
191-
is desirable to run emsdk in a fully portable mode that does not touch any files
192-
outside the emsdk directory.
193-
194180
### How do I track the latest Emscripten development with the SDK?
195181

196182
A common and supported use case of the Emscripten SDK is to enable the workflow

0 commit comments

Comments
 (0)