About 20,300,000 results
Open links in new tab
  1. c++ - GCC -fPIC option - Stack Overflow

    Mar 15, 2011 · I have read about GCC's Options for Code Generation Conventions, but could not understand what "Generate position-independent code (PIC)" does. Please give an example …

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

  3. What is the difference between GNU, GCC, and MinGW?

    Aug 2, 2023 · 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 …

  4. GCC -g vs. -g3 GDB flag: What is the difference?

    176 When compiling C source code with either GCC or Clang, I always use the -g flag to generate debugging information for GDB. gcc -g -o helloworld helloworld.c I noticed that some people …

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

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

  7. GCC: Difference between -O3 and -Os - Stack Overflow

    Apr 5, 2022 · I am quite familiar with GCC -O3 flag, but how it differs from -Os, in which situation we should prefer one over other?

  8. g++ - gcc: Difference between -L and -l option AND how to …

    Apr 6, 2015 · I am new to makefile stuff; so, please accept my apology if my questions are trivials. Question 1: What is the difference between -L and -l option. Question 2: How do you provide …

  9. 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.?

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