Re: Experimenting with reduced gcc-lib

2022-12-19 Thread Ludovic Courtès
Hi! Julien Lepiller skribis: > Le 15 décembre 2022 15:34:02 GMT+01:00, "Ludovic Courtès" a > écrit : >>> (outputs '("out";commands, etc. (60+ MiB) >>> - "lib";libgcc_s, libgomp, etc. (15+ >>> MiB) >>> + "shared-

Re: Experimenting with reduced gcc-lib

2022-12-15 Thread Julien Lepiller
Le 15 décembre 2022 15:34:02 GMT+01:00, "Ludovic Courtès" a écrit : >Hello! > >Julien Lepiller skribis: > >> Before the patch we get: >> >> guix size perl >> total: 147.7 MiB >> >> After the patch: >> >> ./pre-inst-env guix size perl >> total: 114.5 MiB > >Nice! > >> I don't want to push that

Re: Experimenting with reduced gcc-lib

2022-12-15 Thread Ludovic Courtès
Hello! Julien Lepiller skribis: > Before the patch we get: > > guix size perl > total: 147.7 MiB > > After the patch: > > ./pre-inst-env guix size perl > total: 114.5 MiB Nice! > I don't want to push that patch as is, because libstdc++.so is still in > the gcc-static-lib output and will bring

Experimenting with reduced gcc-lib

2022-12-08 Thread Julien Lepiller
Hi Guix! I had a look at gcc to try and reduce its footprint. I figured gcc-lib contained shared and static libraries as well as support libraries for gdb, many headers and compiler runtime, that are taking a lot of space when they are not needed at runtime. Reducing its 33.4 MiB would help create