The relationship between gcc, g ++, cygwin and wingw?

I know for my class, I needed to install cygwin to run NetBeans IDE, but I see the parameters during installation of both g ++ and gcc, and I'm not sure if they are the same or not, and where does wingw work? it's a different compiler, and if so, why choose another?

+4
source share
3 answers

g ++ and gcc are the compilers of gnu C ++ and C, respectively. However, they are the same compiler with different flags.

MinGW is "Minimalist Gnu for Windows." This is the gnu compiler port for running on Windows.

Cygwin - gnu ( ) Windows. (IMO, ), /, POSIX, POSIX Windows.

: Linux, , , gcc/g++ , .

Windows, . Cygwin Linux/POSIX Windows. , , , MinGW.

: MinGW MinGW.org . MinGW, nuwen.net( ).

+4
  • gcc :.c/.cpp C ++ .
  • g++ :.c/.cpp , ++.
  • , g++    std ++- (gcc ).
  • gcc C .

, mingw? MinGW Windows. MinGW GCC/g++, MinGW , Cygwin, MS libs , .

+2

, ;

  • gcc - C.
  • g++ ++.

.

+1

All Articles