3 ms·
So this may seem like a stupid question, but I have been doing a lot of work on static compilation for an embedded project, and noticed a huge improvement from
by g82918 8y ago
So this may seem like a stupid question, but I have been doing a lot of work on static compilation for an embedded project, and noticed a huge improvement from adding -ffunction-sections and -fdata-sections plus link-time garbage collection with static linking. Would compiling firefox statically against musl and some static nss provider help?
I sorry if this question is phrased poorly, English is not my first language and I am new to build system issues.
- nisa 8y agofrom my limited understand using LTO is a better alternative to -ffunction-sections and -fdata-sections + gc-sections because the compiler and linker has more information. Size reductions are often a little bit better for LTO than for gc-sections. Check this article series: https://lwn.net/Articles/744507/ https://lwn.net/Articles/744507/