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

    Jul 7, 2016 · MinGW stands for "Minimalist GNU for Windows" It is essentially a tool set that includes some GNU software, including a port of GCC. In summary, MinGW contains GCC which is in the …

  2. Compiling a C++ program with GCC - Stack Overflow

    17 By default, gcc selects the language based on the file extension, but you can force gcc to select a different language backend with the -x option thus: gcc -x c++ More options are detailed on the gcc …

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

    Oct 5, 2008 · According to GCC's online documentation link options and how g++ is invoked, g++ is roughly equivalent to gcc -xc++ -lstdc++ -shared-libgcc (the 1st is a compiler option, the 2nd two are …

  4. gcc - I don't understand -Wl,-rpath -Wl, - Stack Overflow

    Jul 3, 2011 · man gcc: -Wl,option Pass option as an option to the linker. If option contains commas, it is split into multiple options at the commas. You can use this syntax to pass an argument to the option. …

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

    Oct 4, 2009 · What are the difference between the 3 compilers CC, gcc, g++ when compiling C and C++ code in terms of assembly code generation, available libraries, language features, etc.?

  6. What is the difference between clang (and LLVM) and gcc / g++?

    Jul 19, 2014 · 135 gcc and g++ are the traditional GNU compilers for C and C++ code. Recently, clang (and clang++) using LLVM has been gaining popularity as an alternative compiler. What is the …

  7. How to disable GCC warnings for a few lines of code

    Rather than silencing the warnings, GCC style is usually to use either standard C constructs or the __attribute__ extension to tell the compiler more about your intention.

  8. Compiling multiple C files with gcc - Stack Overflow

    Sep 13, 2013 · With regard to what specifically? The idea of putting source code directly into .o files? That seemed incredibly strange to me, especially since gcc doesn't recognize .o files, but that's why I …

  9. '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. This might …

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

    Apr 2, 2017 · Those options do very different things: -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 …