LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-07-2017, 02:10 PM   #1
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Rep: Reputation: 138Reputation: 138
Another C compiler for DEBIAN ?


Hi, GCC and CLang-5.0 are typical high-performance compiler. Does Debian may support some other compilers in the future ? There is tcc.

Which other alternatives are available?

thank you

Last edited by patrick295767; 09-07-2017 at 02:41 PM.
 
Old 09-08-2017, 07:11 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
There are many, see this link for a few https://en.wikipedia.org/wiki/List_o...rs#C_compilers

Keep in mind that the GCC/G++ family is the definitive compiler suite for the GNU world. While all of the others work, they may not work as you would expect with existing tools, packages, makefiles, and autoconfig packages optimized for use with GCC.
 
Old 09-21-2017, 11:20 PM   #3
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Original Poster
Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by wpeckham View Post
There are many, see this link for a few https://en.wikipedia.org/wiki/List_o...rs#C_compilers

Keep in mind that the GCC/G++ family is the definitive compiler suite for the GNU world. While all of the others work, they may not work as you would expect with existing tools, packages, makefiles, and autoconfig packages optimized for use with GCC.
In practice: tcc or gcc are the most used ones, no?
 
Old 09-22-2017, 07:17 AM   #4
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by patrick295767 View Post
In practice: tcc or gcc are the most used ones, no?
In general, perhaps not. In the Linux/bsd (GNU) world, GCC is the runaway most common C compiler. G++ is the most common C++ compiler in that case as well. Perhaps we should be asking "why are we looking for more compiler options?" There are many, but what is the goal here?
 
Old 09-22-2017, 02:40 PM   #5
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Original Poster
Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by wpeckham View Post
In general, perhaps not. In the Linux/bsd (GNU) world, GCC is the runaway most common C compiler. G++ is the most common C++ compiler in that case as well. Perhaps we should be asking "why are we looking for more compiler options?" There are many, but what is the goal here?
The goal is to try different compilers, to compare, to have look, - just by curiosity.
 
Old 09-23-2017, 07:03 AM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by patrick295767 View Post
The goal is to try different compilers, to compare, to have look, - just by curiosity.
I see. In that cae the lists should get you well started. Some of the many pages comparing compilers and the resulting programs may also be of interest. (Some of the FASTEST compilers produce larger, slower executable output.)

Good luck!
 
  


Reply



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
[Debian] Removing Compiler sspiro Linux - Security 8 12-30-2010 08:22 AM
Updating Debian 5.0 Compiler geno1234 Linux - Software 4 07-29-2009 07:27 PM
C compiler with DEBIAN joss_dgse Linux - Newbie 6 06-28-2009 09:17 AM
debian unstable compiler black_man Debian 1 03-31-2006 04:15 PM
Java Compiler for Debian grilledsalad Linux - Software 1 01-03-2005 07:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:53 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
Open Source Consulting | Domain Registration