08-27-2008
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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
trampoline
TRAMPOLINE(3) Library Functions Manual TRAMPOLINE(3)
NAME
trampoline - closures as first-class C functions
SYNOPSIS
#include <trampoline.h>
function = alloc_trampoline(address, variable, data);
free_trampoline(function);
is_trampoline(function)
trampoline_address(function)
trampoline_variable(function)
trampoline_data(function)
DESCRIPTION
These functions implement closures as first-class C functions. A closure consists of a regular C function and a piece of data which gets
passed to the C function when the closure is called.
Closures as first-class C functions means that they fit into a function pointer and can be called exactly like any other C function. func-
tion = alloc_trampoline(address, variable, data) allocates a closure. When function gets called, it stores data in the variable variable
and calls the C function at address. The function at address is responsible for fetching data out of variable immediately, before execu-
tion of any other function call.
This is much like gcc's local functions, except that the GNU C local functions have dynamic extent (i.e. are deallocated when the creating
function returns), while trampoline provides functions with indefinite extent: function is only deallocated when free_trampoline(function)
is called.
is_trampoline(function) checks whether the C function function was produced by a call to alloc_trampoline. If this returns true, the argu-
ments given to alloc_trampoline can be retrieved:
trampoline_address(function) returns address,
trampoline_variable(function) returns variable,
trampoline_data(function) returns data.
SEE ALSO
gcc(1), varargs(3), callback(3)
BUGS
Passing the data through a global variable is not reentrant. Don't call trampoline functions from within signal handlers. This is fixed in
the callback(3) package.
PORTING
The way gcc builds local functions is described in the gcc source, file gcc-2.6.3/config/cpu/cpu.h.
AUTHOR
Bruno Haible <bruno@clisp.org>
ACKNOWLEDGEMENTS
Many ideas were cribbed from the gcc source.
25 October 1997 TRAMPOLINE(3)