[Development] wasm and static vs. shared libs

Martin Koller kollix at aon.at
Tue Oct 1 08:38:42 CEST 2019


Hi,

I see that compiling Qt for wasm produces .a static libs.
This however leads to a couple of duplicate symbols when linking my existing large application.

Here
https://emscripten.org/docs/compiling/Building-Projects.html?highlight=link#archive-a-files
I read
"Where possible it is better to generate shared library files (.so) rather than archives (.a) — this is generally a simple change in your project’s build system. Shared libraries are simpler, and are more predictable with respect to linking."

so my question is: why does qt/wasm not allow to be built as -shared ?

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at




More information about the Development mailing list