-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
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
- On Windows,
emccwhen triggered, the command resolves toemcc.bat. emcc.batin turn looks foremcc.pyin the same directory using"%~dp0\%~n0.py"- When invoked with quotes (
"emcc"), the resolution of"%~dp0\%~n0.py"inemcc.batcauses issues, as shown in the following links: - One such case, in which
emccis called with quotes is when buildingboostforemscriptenusing theb2tool.
Possible Solution
- Since the path to emsdk is available in the
EMSDKenvironment variable, it can be used to replace"%~dp0\%~n0.py"with"%EMSDK%\upstream\emscripten\%~n0.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels