LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2010, 11:11 PM   #1
chinho
Member
 
Registered: Dec 2010
Distribution: fedora, openSUSE
Posts: 49

Rep: Reputation: 1
What are the difference between various compilers?


Hi guys,

There are so many compilers out there, namely a few:

1. GCC
2. Cygwin
3. MingW
and many more

So between these compilers, what are the major if any, or minor differences??

Just wish to sort things out here.

Thanks!
Chinho
 
Old 12-26-2010, 11:52 PM   #2
djtoltz
Member
 
Registered: Nov 2003
Location: Eastern North Carolina, USA
Distribution: Mandrake
Posts: 51

Rep: Reputation: 20
GCC is a C/C++ language compiler. Cygwin is a library/environment for MS-Windows and MingW is a port of the GCC compiler to MS-Windows. There are many compilers, but your examples don't make sense, as they are all based on the same compiler. Generally speaking, different compilers will accept different languages, extensions, etc. They will also have different optimization capabilities and targets (e.g. x386, Pentium, PPC). Entire books have been written on compiler technology, but I think it's save to say that GCC is the accepted C/C++ compiler in this camp. The other compilers would most likely be for other languages or other operating systems.

Sorry if I didn't answer your question. It would help if you described exactly what you are trying to accomplish, and then someone can suggest appropriate tools. If you want specific information about a specific tool, just look it up ... every open source tool has at least some on-line documentation/support.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FREE Compilers and Cross-Compilers for LINUX and WINDOWS. Bernstein34 Linux - Software 1 05-05-2008 01:54 PM
c++ compilers metallica1973 Linux - Software 16 04-11-2006 12:23 PM
Compilers lramos85 Programming 4 10-03-2004 02:50 PM
Compilers... ChaosZ3RO Linux - Software 1 09-15-2003 07:08 PM


All times are GMT -5. The time now is 04:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration