emscripten-core / emscripten-core/emscripten
[Question] Emscripten and linker scripts
- Lingua principale
- C++
- Stelle
- 27.6k
- Fork
- 3.6k
- Merge medio
- 1g 14h
- PR unite (30g)
- 125
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non è indicato alcun file sorgente né alcun test. Inizia verificando il supporto di Emscripten per linker-script e la documentazione esistente, quindi confronta le esportazioni dei simboli richieste con gli attuali link flags. Il lavoro è completo quando è stata confermata una risposta sul fatto che sia supportato o meno e, se è supportato, sono state documentate le istruzioni per un linker script equivalente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- wasm
- Ambito
- build-system, compilers
- Tipo di issue
- Documentazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100