emscripten-core / emscripten-core/emscripten

missing "bootstrap" sh files for `emar`, `emranlib`, `emcmake` and many others

Open
#25,954 12 comments 0 reactions 0 assignees View on GitHub
windows
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

**Version of emscripten/emsdk:**
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 4.0.21 (d6f42310010ddec0753a6
9bab01a4b33aae255b7)
clang version 22.0.0git (https:/github.com/llvm/llvm-project 60513b8d6ebacde46e8fbe4faf1319ac87e990e
3)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: C:\emsdk\upstream\bin

**Failing command line in full:**
`bash: emar: command not found`

**Full link command and output with `-v` appended:**
```shell
make generic CC='emcc' AR='emar rcu' RANLIB='emranlib' MYLDFLAGS="-sALLOW_MEMORY_GROWTH -sWASM_BIGINT -sENVIRONMENT=web"
```

~~After updating emscripten, sh files for emar and emranlib are missing or not created in **%EMSDK%**\upstream\emscripten. i can not use in mingw64.~~
~~As workarround i created copies of `bootstrap` file and then remaned to emar and emranlib.~~

~~Also noticied that **maint** directory is missing in **%EMSDK%**\upstream\emscripten\tools.~~

~~I always follow the update instructions from [https://emscripten.org/docs/getting_started/downloads.html](https://emscripten.org/docs/getting_started/downloads.html)~~

EDIT: **lastest working version was 4.0.12**, newer versions do not include these files:
- emar
- embuilder
- emcmake
- emmake
- emnm
- emprofile
- emranlib
- emrun
- emscan-deps
- emscons
- emsize
- emstrip

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.