Elektrine lite

← Feed

@thephd@pony.social

Post #1494701

2026-04-20 18:52 UTC

IT'S *_CXXFLAGS AND NOT JUST *_CFLAGS?! I should've never trusted the damn documentation always just read the source code fuck this noise

Replies (5)

  • @thephd@pony.social 2026-04-20 18:59

    Conceptually of COURSE this makes sense because GCC switched to using C++ Y E A R S ago but like, I was following the documentation! I was sticking to what they told me to set and deleting build dirs and reconfiguring like a good boy!! I SHOULD'VE JUST READ THE MAKEFILES FROM THE START. LIES LIES LIES LIES LIES LIES LIES LIES LIES LIES LIES https://gcc.gnu.org/install/build.html LIES LIES LIES LIES LIES LIES LIES LIES LIES LIES LIES

    Open ##1494700

  • @madduci@mastodon.social 2026-04-20 18:54

    @thephd always has been

    Open ##2027317

  • @bnlandor@mastodon.social 2026-04-20 18:56

    @thephd Pretty sure at some point the documentation was correct…

    Open ##2027320

  • @cb@social.treehouse.systems 2026-04-20 20:10

    @thephd dumb Q: does GCC also have _CPPFLAGS for the stages environment variables? i usually use that for building usually since it gets plastered for both CFLAGS and CXXFLAGS, but because it’s intended for preprocessor flags it might apply where you don’t want it

    Open ##2027328

  • @mirabilos@toot.mirbsd.org 2026-04-20 23:49

    @thephd uh but that is obvious to anyone who ever built and packaged any mixed program, CFLAGS is for C, CXXFLAGS for CFrustFrust, CPPFLAGS for both but only -[DUI]* and the likes

    Open ##2027330