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?
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?
GNU is not a compiler. It is an Operating System and a collection of free software made to be "Unix like" without using Unix. (GNU stands for "GNU's not Unix!")
GCC stands for "GNU Compiler Collection" and is a piece of GNU software that includes a compiler with frontends for multiple languages:
The standard compiler releases since 4.6 include front ends for C (gcc), C++ (g++), Objective-C, Objective-C++, Fortran (gfortran), Java (gcj), Ada (GNAT), and Go (gccgo).
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 collection of GNU free software.
Further Reading Below:
GNU - https://en.wikipedia.org/wiki/GNU
GCC - https://en.wikipedia.org/wiki/GNU_Compiler_Collection#cite_note-39
MinGW - http://www.mingw.org/