emscripten-core / emscripten-core/emscripten
[Question] Emscripten and linker scripts
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
I currently have a shared library which in order to link to a main_module I have to export a large list of symbols

As part of the review of the PR where I include this large list of symbols to be added as link flags I got asked the following question

I can find no reference to linker scripts in the documentation. As someone who has never used them before even for native builds, I thought I would double check that Emscripten does support them before I start the work of working out how to construct an equivalent linker script to what I am currently doing. Can someone confirm if they are supported by Emscripten or not?
Contributor guide
Assessment
This issue has not been assessed yet.