About 7,430,000 results
Open links in new tab
  1. What is the difference between GNU, GCC, and MinGW?

    Aug 2, 2023 · GCC stands for "GNU Compiler Collection" and is a piece of GNU software that includes a compiler with frontends for multiple languages: The standard compiler releases …

  2. What is the difference between g++ and gcc? - Stack Overflow

    Oct 5, 2008 · GCC or G++ just choose a different front-end with different default options. In a nutshell: if you use g++ the frontend will tell the linker that you may want to link with the C++ …

  3. c++ - Difference between CC, gcc and g++? - Stack Overflow

    Aug 13, 2018 · gcc is the driver binary for the GNU compiler collection. It can compile C, C++, and possibly other languages; it determines the language by the file extension. g++ is a driver …

  4. How can I determine what architectures gcc supports?

    Nov 15, 2017 · Fortunately, it seems like some newer gcc versions provide a way to do so. If you do need such an option for old gccs, writing a gcc plugin, which might work from gcc 4.5 or so, …

  5. What's the meaning of gcc '-c' and gcc '-o'? [duplicate]

    Apr 2, 2017 · -c tells GCC to compile a source file into a .o object file. Without that option, it'll default to compiling and linking the code into a complete executable program, which only …

  6. c++ - gcc - how to use address sanitizer - Stack Overflow

    Nov 9, 2017 · So upgrade your GCC compiler (to at least GCC6). I do know that GCC4.8 had incomplete support for address sanitizer & C++11 (BTW, GCC4.8 is obsolete, and so is …

  7. When and how to use GCC's stack protection feature?

    I have enabled the -Wstack-protector warning when compiling the project I'm working on (a commercial multi-platform C++ game engine, compiling on Mac OS X 10.6 with GCC 4.2). …

  8. What is the default C -std standard version for the current GCC ...

    I can't predict when gcc will switch to -std=gnu23 as its default. If you're reading this in the distant future, let us know how things turned out. gcc releases from 3.0 to 4.9.4 default to -std=gnu89 …

  9. c - How to specify libraries paths in gcc? - Stack Overflow

    Jul 16, 2015 · Linking. For linking, make sure you specify object files (or source files) before libraries (-lxxx options).And make sure the -L option for a given library appears before the -l …

  10. 'gcc' is not recognized - How to make gcc/mingw work in Windows?

    Dec 12, 2022 · The Mingw binary installation instructions (such as these) tells me to change the PATH environment variable in Windows, in order to use the gcc/g++ etc commands anywhere. …