Solid reference for when you're wrestling with undefined references, trying to enable LTO without breaking your build, or figuring out why your binary is bloated. Covers GNU ld, gold, and lld selection, the left-to-right link order gotcha that bites everyone, and the full LTO setup for both GCC and Clang including ThinLTO. The symbol visibility and --gc-sections sections are especially practical. It won't teach you linker theory, but if you need to know whether to use --start-group or how to generate a map file to debug where your symbols went, it's all here in working examples.
npx -y skills add mohitmishra786/low-level-dev-skills --skill linkers-lto --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
juliusbrussee/caveman
mattpocock/skills
shadcn/improve
obra/superpowers
forrestchang/andrej-karpathy-skills
vercel-labs/skills