I have posted the earlier posts where i have used TurboC++ compiler for compiling
My Friend told me its better to use gcc than TurboC++ , so I decided find the reason why gcc is considered to be better than TurboC++ as both of the compiler are there for C Language.
what I thot was TurboC++ is for Windows and GCC is for Linux ?
Am I correct ?
Noo
TurboC++ , this IDE work in Windows and DOS Environment.
while GCC is available for several operating system and even also for Windows
Windows ? yup, for Windows -->MINGW ( Minimalist GNU or Windows) (its nt the C compiler, visit the link is recommended )
Now about GCC (GNU Compiler Collection) , what I Found that it not really works for C programming Language but also for other languages like Java , C++ , Objective C , Ada , FORTRAN and Go. and its also the open source Gr8 !
GCC is the open source and according to need the back-end for several architecture could be written.
But TC is proprietary hence no such feature.
Now what was the similarity ?
Similarity between these two compilers is that both support ANSI C and extend it to support few extensions. Those extensions are "Compiler-specific Extensions".
Not going in the further compiler technicalities , I read somewhere
"GCC generate ELF on Unix variant system and can generate COFF too for DOS(DJGPP)
on the other hand Turbo C generates OMF format OBJ files and linker links it to the platform specific EXE file (Windows )"
.
Now they both have different implementation :
like in Turbo C we define "conio.h" header file and gcc doesnt include it
Borland compilers (Turbo C) accept void while gcc doesnt
and there are other differences
You can use these links for porting from Turbo to GNU
http://tvision.sourceforge.net/
http://www.sandroid.org/TurboC/
Refer also : http://in.answers.yahoo.com/question/index?qid=20110120103412AAy8JYA
Thanks :)
My Friend told me its better to use gcc than TurboC++ , so I decided find the reason why gcc is considered to be better than TurboC++ as both of the compiler are there for C Language.
what I thot was TurboC++ is for Windows and GCC is for Linux ?
Am I correct ?
Noo
TurboC++ , this IDE work in Windows and DOS Environment.
while GCC is available for several operating system and even also for Windows
Windows ? yup, for Windows -->MINGW ( Minimalist GNU or Windows) (its nt the C compiler, visit the link is recommended )
Now about GCC (GNU Compiler Collection) , what I Found that it not really works for C programming Language but also for other languages like Java , C++ , Objective C , Ada , FORTRAN and Go. and its also the open source Gr8 !
GCC is the open source and according to need the back-end for several architecture could be written.
But TC is proprietary hence no such feature.
Now what was the similarity ?
Similarity between these two compilers is that both support ANSI C and extend it to support few extensions. Those extensions are "Compiler-specific Extensions".
Not going in the further compiler technicalities , I read somewhere
"GCC generate ELF on Unix variant system and can generate COFF too for DOS(DJGPP)
on the other hand Turbo C generates OMF format OBJ files and linker links it to the platform specific EXE file (Windows )"
.
Now they both have different implementation :
like in Turbo C we define "conio.h" header file and gcc doesnt include it
Borland compilers (Turbo C) accept void while gcc doesnt
and there are other differences
You can use these links for porting from Turbo to GNU
http://tvision.sourceforge.net/
http://www.sandroid.org/TurboC/
Refer also : http://in.answers.yahoo.com/question/index?qid=20110120103412AAy8JYA
Thanks :)
No comments:
Post a Comment