emscripten-core / emscripten-core/emscripten
[Question] Emscripten and linker scripts
- Vorherrschende Sprache
- C++
- Sterne
- 27.6k
- Forks
- 3.6k
- Ø Merge
- 1 T. 14 Std.
- Gemergte PRs (30 T.)
- 125
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
Es wird keine Quelldatei oder kein Test genannt. Beginne damit, die Unterstützung von Emscripten für linker-script und die vorhandene Dokumentation zu prüfen, und vergleiche anschließend die angeforderten symbol exports mit den aktuellen link flags. Als abgeschlossen gilt die Bestätigung, ob dies unterstützt wird oder nicht, und, falls es unterstützt wird, eine dokumentierte Anleitung für ein gleichwertiges linker script.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- wasm
- Bereich
- build-system, compilers
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100