[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc-on-diet (was Re: Size of base system)



Hi Guillem,

* Guillem Jover <guillem@debian.org> [2025-09-13 14:11]:
As has been mentioned elsethread this is a recurring thing, so for some
time, I've got installed on all my systems and chroots gcc-on-diet:

 https://git.hadrons.org/cgit/debian/gcc-on-diet.git
   (under DDoS by AI crawlers, might want to check a mirror below)

 https://codeberg.org/guillem/gcc-on-diet
 https://github.com/guillemj/gcc-on-diet

Thank you for the inspiration! I have adopted it as mmdebstrap hook for my build chroots:

--chrooted-customize-hook="find /usr/lib/gcc/*/ /usr/libexec/gcc/*/ -maxdepth 2 -type f -size +10M -print0 | xargs -r0 strip --strip-unneeded --remove-section=.comment --remove-section=.note"


Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature


Reply to: