On Thu, May 21, 2020 at 9:41 AM Floh <[email protected]> wrote:

> > I really want to stop people from trying to do this.   I'd much rather
> the PATH was way one finds emscripten.   e.g. `which emcc`.   Failing that
> an environment variable.
>
> What about having several emsdk installations side by side though, without
> any of them being the "default version".
>

If you mean literally multiple emsdk checkouts, then yes, with --embedded
allows them to work at the same time with neither one being the default.

If you mean one checkout of emsdk with several SDKs inside it?   Hasn't
this setup always required a default version?  Haven't you always had to
switch between them using `emsdk activate`  (I believe that has always been
the case).   I do have future plans to make even that unnecessary but that
would require embedding config even deeper, inside the emscripten directory
itself: https://github.com/emscripten-core/emsdk/pull/367.



> But if I understand your other posts right, that won't be an issue in the
> future (e.g. if all the tools in the SDK can figure out the location of
> "their" SDK without external hints like the --em-config or --cache command
> line args). Ideally this should work without having the PATH or setting
> "global" environment variables.
>

Yes that is the plan.  I would like for the execution of /path/to/emcc to
more-or-less always just work based on its own embedded configuration, with
no single emscripten being the default one.


> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/706fb54f-f3bb-4a3e-8cc0-d3c28d438a08%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/706fb54f-f3bb-4a3e-8cc0-d3c28d438a08%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAL_va28AhupZ9-g1za1R6KMrnJVvad_fDHMJf2nUoNCJLCcapw%40mail.gmail.com.

Reply via email to