About 22,900,000 results
Open links in new tab
  1. 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 …

  2. c++ - import std module with gcc-15 - Stack Overflow

    Nov 30, 2024 · As mention in this gcc patches, the std module is built in gcc development branch. I build from source and try to use it in cmake project but it show std module not found. This is …

  3. '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. …

  4. 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 …

  5. Does GCC support C++20 std::format? - Stack Overflow

    Sep 3, 2020 · GCC 13 has added support for std::format. According to cppreference, as of GCC 13, no gaps remain in its C++20 support (in both the core language and the standard library).

  6. GCC and linking environment variables and flags - Stack Overflow

    They have nothing to do with GCC. They are just a sort of convention on Unix, and accordingly are supported out-of-the-box in Unix family. I guess they became a convention because plain …

  7. gcc - What are my available march/mtune options? - Stack Overflow

    Nov 5, 2018 · Is there a way to get gcc to output the available -march=arch options? I'm getting build errors (tried -march=x86_64) and I don't know what my options are. The compiler I'm …

  8. How do you get assembler output from C/C++ source in GCC?

    Sep 26, 2008 · Use the -S option to gcc (or g++), optionally with -fverbose-asm which works well at the default -O0 to attach C names to asm operands as comments. It works less well at any …

  9. gcc - make: *** [ ] Error 1 error - Stack Overflow

    Jun 11, 2014 · Without more details from the error message it is difficult to know what is wrong

  10. How do I compile the asm generated by GCC? - Stack Overflow

    4 Yes, gcc can also compile assembly source code. Alternatively, you can invoke as, which is the assembler. (gcc is just a "driver" program that uses heuristics to call C compiler, C++ compiler, …