Cpp Compiler Flags

C++ compiler/linker flag guidance for Serial Studio's build (GCC, Clang, AppleClang, MSVC cl.exe, clang-cl, MinGW, IntelLLVM). Use when reading, changing, or reasoning about the cmake flag modules (Optimization/Hardening/Sanitizers/MiMalloc), tuning -O/-march/LTO/PGO, adding a per-toolchain branch, debugging a flag that one compiler rejects, or explaining what a flag does. Encodes this repo's actual flag layout and its non-negotiable invariants (IEEE-stable math, Lua unwind tables, x86-64-v2 baseline, the two-stage PGO flow). It does NOT build, configure, or run cmake -- the developer does that.

serial-studio 332fc89 3 files · 34.3 KB Updated

File contents

serial-studio/serial-studio/tree/main/.claude/skills/cpp-compiler-flags commit 332fc89fa3

Frequently asked questions

npx skillmds@latest add serial-studio/cpp-compiler-flags