About 50 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 two are …

  2. What does the '-c' option do in GCC? - Stack Overflow

    Feb 6, 2013 · 3 -c will instruct GCC to only compile the source file to an .o (object) file, but it does not invoke the linker. With a project containing many .c files, one will typically compile first all .c files to .o …

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

    Jul 7, 2016 · I was informed that GCC is not only a compiler for c but also for many other languages. Is it true? If so, then how is it done?

  4. Using GCC to compile C code - Stack Overflow

    Jul 18, 2014 · I installed MinGW on my Windows 8 laptop and tried to compile a C code file with gcc test.c -o test.exe the compiler gave no warnings or errors but it did not create test.exe how do i get …

  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 are the useful GCC flags for C? - Stack Overflow

    Beyond setting -Wall, and setting -std=XXX, what other really useful, but less known compiler flags are there for use in C? I'm particularly interested in any additional warnings, and/or and turning

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

    By default, gcc does not conform to any of the ANSI/ISO C standards. The current default is equivalent to -std=gnu17, which is the 2017 standard with GNU-specific extensions. (Some diagnostics required …

  8. linux - Why does configure say no C compiler found when GCC is ...

    Why does configure say no C compiler found when GCC is installed? Asked 12 years, 5 months ago Modified 7 years, 7 months ago Viewed 125k times

  9. How do I make sure that my default C/C++ compiler is GCC?

    Apr 18, 2020 · However, the general conclusion is the same — all the C and C++ compilers are really clang and clang++ in disguise. How do you get GNU GCC onto your machine? How do you get a …

  10. c - Is GCC a compiler or is it a collection of tools for the ...

    Aug 24, 2020 · I'm new to GNU and GCC, sorry if my question sounds dumb. We know that GCC stands for GNU Compiler Collection, so I think gcc is just a compiler (from a compiler collection). But I also …