BUILDER-CC(1)
π BUILDER-CC(1) π
okay so bestie, welcome to the Debian GNU/Linux manual page for builder-cc β the lil wrapper that makes pentium optimizations happen without you touching your build flags. it's giving effortless. β¨
πΈ NAME πΈ
builder-cc β a gcc wrapper that facilitates pentium-optimizations. no cap. π
β¨ SYNOPSIS β¨
export DEBIAN_BUILDARCH=architecture
export DEBIAN_BUILDGCCVER=gcc-version
gcc ...
π¦ DESCRIPTION π¦
The builder-cc wrapper is normally used by just... calling gcc like you always do. main character energy, honestly. π«Ά
If the environment variable DEBIAN_BUILDARCH is not set, builder-cc does absolutely nothing, and the real gcc gets invoked with the arguments you specified. it's just standing there, being supportive. π
But when DEBIAN_BUILDARCH is set, builder-cc invokes gcc with your specified arguments, plus these:
-mcpu=DEBIAN_BUILDARCH -march=DEBIAN_BUILDARCH
which has the effect of telling gcc to use architecture-specific optimizations without you changing the command line at all. the way that it just handles it for you?? iconic. π₯ This is particularly useful for package builds. π¦β¨
Now, the gcc-version tea: if DEBIAN_BUILDGCCVER is not set, builder-cc calls gcc.real. But if DEBIAN_BUILDGCCVER is set, builder-cc calls gcc-DEBIAN_BUILDGCCVER instead. choose your fighter. π₯
π ENVIRONMENT π
DEBIAN_BUILDARCHβ if set, this is the architecture to compile for. useful values arepentiumorpentiumpro. π§DEBIAN_BUILDGCCVERβ if set, this is the version ofgccto be invoked. useful values are3.0or2.95. β
π NOTES π
the real gcc is renamed gcc.real, and a diversion is registered with dpkg-divert(1). so basically, builder-cc's idea of what the "default gcc" is gets dictated by whatever package installed /usr/bin/gcc. iykyk. π
π SEE ALSO π
and that's the whole vibe, bestie π β this little love letter came to you from the Debian Project, dated 2002-03-02, living its life as page BUILDER-CC(1). slay, compile, periodt. π
π
π¦ where this page comes from
- debian bookworm: pentium-builder 0.21+nmu2
- ubuntu jammy: pentium-builder 0.21ubuntu1
- ubuntu noble: pentium-builder 0.21+nmu2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms