mirror of
https://github.com/HeyPuter/gex.git
synced 2026-11-13 20:12:43 -10:00
-shared writes a wasm side module (soname, rpath kept; -Bsymbolic; the self-binding; asyncify-relocatable on what may reach a fork, from the libraries' gex.forkreach summaries with every indirect call counting; its own summary added), -lfoo prefers a real libfoo.so, and a program links against libc.so (tools/gexcc/shared/mklibc.sh: musl, libgex and libgexcc as one module, built by install.sh with gexcc itself). The loop safepoint's counter is every module's own (hidden, libgexcc.a in each). Code is compiled with default visibility, as on ELF. forkreach.py takes --also/--indirect/--ignore/--exports for this. Static stays the default; tests/gexcc/run.sh passes in both modes. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_1896c5b302a54696aaa92c5f4047f20b