About 9,080,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 …

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

    Jul 3, 2011 · For convenience I added the relevant manpages below. My (mis)understanding first: If I need to separate options with ,, that means that the second -Wl is not another option …

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

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

  5. How can I prevent GCC optimizing some statements in C?

    Nov 24, 2023 · In order to make a page dirty (switching on the dirty bit in the page table entry), I touch the first bytes of the page like this: pageptr[0] = pageptr[0]; But in practice, GCC will …

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

  7. Query on -ffunction-section & -fdata-sections options of gcc

    The below mentioned in the GCC Page for the function sections and data sections options: -ffunction-sections -fdata-sections Place each function or data item into its own section in the …

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

  9. How to use C++ 20 in g++ - Stack Overflow

    Apr 6, 2021 · I am trying to access std::popcount, but it seems like it's only there in C++ 20. When I try compiling with g++ -std=c++20 main.cpp, it says g++: error: unrecognized command line …

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