[CentOS] which gcc package?

Sat May 8 13:44:49 UTC 2010
Robert Heller <heller at deepsoft.com>

At Sat, 08 May 2010 09:23:32 -0400 CentOS mailing list <centos at centos.org> wrote:

> 
> Hello.
> I tried to compile a program (plugger), but I don't have *any* sort of 
> compiler installed. This is on Cent5.3.
> 
> So, I used Package Manager, concentrating on gcc. But, it seems that I 
> have a choice, thus:
> gcc-4.1.2-46.el5.i386
> gcc-4.1.2-46.el5_4.1.i386
> gcc-4.1.2-46.el5_4.2.i386
> gcc-c++-4.1.2-46.el5.i386
> gcc-c++-4.1.2-46.el5_4.1.i386
> gcc-c++-4.1.2-46.el5_4.2.i386
> ... along with some others (Fortran, Ada, Java, and Obj-C).
> 
> I'm thinking that I need only 1 'flavor' (say, gcc-4.1.2-46.el5.i386 and 
> gcc-c++-4.1.2-46.el5.i386) - correct?

You just need to do 'yum install gcc gcc-c++ binutils glibc-devel'. 
You might also need to do a 'yum install make autoconf automake
libtool' as well, depending on what Plugger uses as it build system
(and what else you don't have installed).  You might also need various
???-devel packages as well.

> 
> I tried a google.com/linux search - the only link that seemed helpful 
> was  http://gcc.gnu.org/  -- where I found only this:
> "The core distribution includes the C language front end as well as the 
> shared components." I have no clue which package would be the FE, and 
> what the shared components are. Perhaps 1 of those packages is the core?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>         

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/