f32a6055a5
Apart from debug information, one can also strip some symbols. This can be a significant difference, qtbase:out consists of about 5 MB of those symbols. As per [1], --strip-debug is included in --strip-unneeded, and the debug files created also contain a copy of the information removed by --strip-unneeded. Linux From Scratch suggests that this option shouldn't be used on static libraries [2], however other sources [3] indicate otherwise. Building a toolchain with this patch succeeds, and the result works fine for 'gcc -static hello-world.c'. [1]: https://stackoverflow.com/a/52555093 [2]: http://www.linuxfromscratch.org/lfs/view/9.1/chapter05/stripping.html [3]: https://www.technovelty.org/linux/stripping-shared-libraries.html * guix/build/gnu-build-system.scm (strip): Use --strip-unneeded. |
||
---|---|---|
.. | ||
maven | ||
android-ndk-build-system.scm | ||
android-repo.scm | ||
ant-build-system.scm | ||
asdf-build-system.scm | ||
bournish.scm | ||
bzr.scm | ||
cargo-build-system.scm | ||
cargo-utils.scm | ||
clojure-build-system.scm | ||
clojure-utils.scm | ||
cmake-build-system.scm | ||
compile.scm | ||
copy-build-system.scm | ||
cvs.scm | ||
debug-link.scm | ||
download-nar.scm | ||
download.scm | ||
dub-build-system.scm | ||
dune-build-system.scm | ||
emacs-build-system.scm | ||
emacs-utils.scm | ||
font-build-system.scm | ||
git.scm | ||
glib-or-gtk-build-system.scm | ||
gnu-bootstrap.scm | ||
gnu-build-system.scm | ||
gnu-dist.scm | ||
go-build-system.scm | ||
graft.scm | ||
gremlin.scm | ||
guile-build-system.scm | ||
haskell-build-system.scm | ||
hg.scm | ||
java-utils.scm | ||
json.scm | ||
julia-build-system.scm | ||
linux-module-build-system.scm | ||
lisp-utils.scm | ||
make-bootstrap.scm | ||
maven-build-system.scm | ||
meson-build-system.scm | ||
minify-build-system.scm | ||
node-build-system.scm | ||
ocaml-build-system.scm | ||
perl-build-system.scm | ||
po.scm | ||
profiles.scm | ||
python-build-system.scm | ||
qt-build-system.scm | ||
qt-utils.scm | ||
r-build-system.scm | ||
rakudo-build-system.scm | ||
rpath.scm | ||
ruby-build-system.scm | ||
scons-build-system.scm | ||
store-copy.scm | ||
svn.scm | ||
syscalls.scm | ||
texlive-build-system.scm | ||
union.scm | ||
utils.scm | ||
waf-build-system.scm |