Skip to content

Incorrect path resolution in emcc.bat/em++.bat #19207

@arpit18

Description

@arpit18

Please include the following in your bug report:

Version of emscripten/emsdk:
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.33 (c1927f2)
clang version 17.0.0 (https://github.com/llvm/llvm-project 671eeece457f6a5da7489f7b48f7afae55327b8b)
Target: wasm32-unknown-emscripten
Thread model: posix

Description

Possible Solution

  • Since the path to emsdk is available in the EMSDK environment variable, it can be used to replace "%~dp0\%~n0.py" with "%EMSDK%\upstream\emscripten\%~n0.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions