Skip to content

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

@kapodamy

Description

@kapodamy

Version of emscripten/emsdk:
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 4.0.21 (d6f4231
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:

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions