What is the difference between Borland, GCC and MinGW compilers?

MinGW and GCC are really the same compiler underneath. MinGW is a GCC port for the Windows platform.

Up vote 6 down vote favorite share g+ share fb share tw.

I have been programming for a while at an intermediate level of course. I have been executing the same code in these different compilers (mostly GCC and MinGW), but I'm unable to make out the difference between these compilers. I mean by what way is the one better than the other?

Or what makes them different? Are there some special needs where you might want to use GCC and for others maybe MinGW? C compiler link|improve this question edited Nov 2 '10 at 14:45Jonathan Leffler140k10108268 asked Nov 2 '10 at 14:36Rahul42519 65% accept rate.

MinGW uses GCC, if I recall. – Etienne de Martel Nov 2 '10 at 14:40 The main thing about the Borland compiler is that it doesn't belong to Borland (or whatever they're named this year) anymore. They sold it to Embarcadero.

– sbi Nov 2 '10 at 14:42 2 Is your "h" key broken? – James McNellis Nov 2 '10 at 14:44 1 well I am more keen on the technical differences , than their names . Well they must have some pros and cons which the other one may overcome – Rahul Nov 2 '10 at 14:45 stackoverflow.com/questions/771756/… – awoodland Nov 2 '107 at 10:57.

MinGW and GCC are really the same compiler underneath. MinGW is a GCC port for the Windows platform. The reasons why you would use different compilers (as in, based on different front-ends) are: You have a binary-only library that is guaranteed to play nice only if you use particular compilers and those happen to be different compilers for different platforms You need to target multiple platforms, and there is no compiler that targets all your platforms You have legacy code that uses particular compiler extensions on different platforms.

– Rahul Nov 2 '10 at 14:54 1 @Rahul: Once you have an executable, you don't need the compiler anymore to execute it. If you have a library built with compiler A then it can not be used with compiler B, unless both compilers target the same platform and one of them has documented that it is supported. – Bart van Ingen Schenau Nov 2 '10 at 15:08.

When in doubt, use gcc. It is a venerable, old and well tested compiler that's free and used a lot, particulary in Linux space. MinGW is a port of some GNU development utilities for Windows, including gcc.

I haven't used Borland's compiler. Ideally, your programs compiled with it should run exactly like when they're compiled using gcc. Gcc and Borland basically do the same thing.

Simplified, they take source code files as input and spit out executables as output. Their internal implementation is vastly different, but that shouldn't be your concern. Differences that should matter to you are their command line flags and error/warning messages when something goes wrong.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions