$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Gcc: Error: Unrecognized Command-line Option ‘-ftrivial-auto-var-init=zero’ Ubuntu Troubleshooting Guide

November 15, 2022 | By the+gnu+linux+evangelist.

Solving gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’ in Ubuntu

Hi! This Tip Try to Solve gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’ in Ubuntu GNU/Linux.

The Issue is due to a missing GCC 12 on System.

Finally, this Setup is valid for all the Ubuntu-based Distros like:

  • Linux Mint
  • Zorin OS
  • Lubuntu
  • Elementary OS
  • Kde Neon
  • Pop_OS!
  • Xubuntu
  • Linux Lite
  • Bodhi
  • Kubuntu
  • LXLE
  • Trisquel
  • Voyager Ubuntu
  • feren OS
  • Peppermint
  • Linux Ultimate Edition
  • (You may just need to Discover what’s the Parent Release)
Featured
  1. Fixing System

    Then to Solve gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’ in Ubuntu
    See: How to Install GCC 12 Compiler Guide