Sponsored Content
Operating Systems Linux gcc updation on Linux machine Post 302229598 by bisla.yogender on Wednesday 27th of August 2008 09:23:27 AM
Old 08-27-2008
Question gcc updation on Linux machine

Hi All,

I already have gcc complier installed in my machine.

Its version is : gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

I am not sure whethere it's is latest gcc version available. I want to update my gcc version. Can anyone please suggest me what is the latest and stable gcc version available now a days and from where i can get it installed i.e. any weblink etc.?

It would be great if some one can brief me about the steps to update my version, i can use rpm -uvh gcc* i can get any dvd/cd mounted on my machine, but what sholud i use if need to install from a website, should i use yum for this?


Any detailed help will be highly appriciated, i need to creat the environment today itself.


Regards,
Yogi
 

10 More Discussions You Might Find Interesting

1. Linux

Linux GCC

Ok, i got a problem... I am trying to get the preinstalled Gcc running on my redhat linux 9 from linuxiso.org The problem is, gcc wont load or sumthin I cannot seem to get it running from "run program" in the menu. I also tried to check /usr/bin to see if it was even there.... Seems like it... (7 Replies)
Discussion started by: gearshifter
7 Replies

2. Programming

Updating GCC in Linux

Hi everybody, I'm trying to update GCC on my computer. It looks that the current GCC installation is not complete. What shall I do with the old GCC? Shall I uninstall it before installing a new one? Mandrake Linux 10.1 Current GCC 3.4.1 The version being installed -- GCC 3.4.4. Thanx,... (2 Replies)
Discussion started by: mimino
2 Replies

3. SuSE

Linux gcc

Hi all, I am trying to create 64-bit shared libraries on Power PC "ppc64" architecture SuSe Linux 10 machine using gcc compiler. I am using "-m64" as an option for gcc to create 64-bit libraries which needs pam module. As we specify -m64 the compiler should look for all 64-bit... (0 Replies)
Discussion started by: vyshu2112
0 Replies

4. Red Hat

GCC compiler on linux box

Hi All, My main aim is to find the version of GCC compiler installed on linux box. Case 1: When i use gcc -v i get the foll. O/P Reading specs from /usr/lib/gcc-lib/i386-redhat-linux7/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-128) case 2: when i use... (3 Replies)
Discussion started by: Ashok_oct22
3 Replies

5. Ubuntu

./configure command Error while trying to install GCC compiler on unix machine

Hi, I need to install the GCC compiler on a my Linus machine. First step is to run the ./configure command and here we need to specify ./configure --target="target machine name (CPU type-Manufacturer-OS) or other way would be just give the command ./configure and it guesses the target name... (11 Replies)
Discussion started by: viji19812001
11 Replies

6. Shell Programming and Scripting

SSH into a linux machine from a windows machine

I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies

7. Red Hat

Installing gcc on RHEL4 Linux

Hi, I'm a newbie in this forum and a newbie with administering Linux. I need to install gcc 3.4.6-10 and I've downloaded and installed the rpm, but it seems that it did not do anything. # rpm -ivh gcc-3.4.6-10.src.rpm 1:gcc ... (3 Replies)
Discussion started by: aarrk
3 Replies

8. Shell Programming and Scripting

shell script to copy files frm a linux machine to a windows machine using SCP

I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine. for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies

9. Solaris

Need gcc binary for a SPARC machine

The machine I am trying to compile on does have /usr/sfw/bin and all the files in it, EXCEPT gcc !! This is a SUN Sparc-1 machine, so the binary does matter to match this. Can someone send me a gcc so I can put it locally for compilation purposes? Or point me a a site that has a compiled-ready... (17 Replies)
Discussion started by: steve701
17 Replies

10. UNIX for Dummies Questions & Answers

Linux server not showing the GCC

Hi How can gcc is missing in linux ?i think we dont need to install it separately , can anyone please clarify when i issue a gcc command my terminal displays "If 'gcc' is not a typo you can run the following command to lookup the package that contains the binary: ... (2 Replies)
Discussion started by: rakeshkumar
2 Replies
BUILDER-CC(1)							 Debian GNU/Linux						     BUILDER-CC(1)

NAME
builder-cc - gcc wrapper to facilitate pentium-optimizations SYNOPSIS
export DEBIAN_BUILDARCH=architecture export DEBIAN_BUILDGCCVER=gcc-version gcc ... DESCRIPTION
The builder-cc wrapper is normally used by calling gcc as usual. If the environment variable DEBIAN_BUILDARCH is not set, builder-cc does nothing, and the real gcc is invoked with the specified arguments. When the DEBIAN_BUILDARCH environment variable is set, builder-cc invokes gcc with the specified arguments, plus -mcpu=DEBIAN_BUILDARCH -march=DEBIAN_BUILDARCH This has the effect of telling gcc to use architecture-specific optimizations without changing the command line. This is particularly useful for package builds. If DEBIAN_BUILDGCCVER is not set, builder-cc calls gcc.real. If DEBIAN_BUILDGCCVER is set, builder-cc calls gcc-DEBIAN_BUILDGCCVER instead. ENVIRONMENT
DEBIAN_BUILDARCH If set, the architecture to compile for. Useful values are pentium or pentiumpro. DEBIAN_BUILDGCCVER If set, the version of gcc to be invoked. Useful values are 3.0 or 2.95. NOTES
The real gcc is renamed gcc.real, and a diversion is registered with dpkg-divert(1). Thus builder-cc's idea of the default gcc is dictated by whatever package installed /usr/bin/gcc. SEE ALSO
gcc(1) Debian Project 2002-03-02 BUILDER-CC(1)
All times are GMT -4. The time now is 07:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy