09-28-2011
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:
command-not-found gcc
bash: gcc: command not found "
but cat /proc/version displays (gcc version 4.3.4 [gcc-4_3-branch revision 152973]
i have checked /usr/bin for gcc but nothing listed ,is there any path to set for gcc
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. 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
3. Programming
If only SCO UNIX was as easy as Debian :mad:
I intend to compile some c scripts but realized that I hadn't installed GCC on my SCO UNIX, after trying to install the package from a CD (Development Kit) and failing (Something to do with the License) ... I decided to download a Media image from... (2 Replies)
Discussion started by: itmon
2 Replies
4. UNIX for Dummies Questions & Answers
Hi
i have written a infinite loop which writes to a file log.txt
while
do
echo " file in use " >> log.txt
done
i have started this process in one terminal , from another terminal i issued cp command
cp log.txt log2.txt
i was expecting a File in use message but didnt ?
i have... (6 Replies)
Discussion started by: rakeshkumar
6 Replies
5. Red Hat
Hi All,
Facing the login problem.
i try to login to the system by the normal user. But when i logged in with the correct username and password, it takes me to the blank (black screen) screen instead of the command line prompt. Only the cursor is blinking ...
Please help me out what is... (3 Replies)
Discussion started by: abhay1983
3 Replies
6. Red Hat
Hi
One of our server is showing the uptime 0hr 5mints
there is no log in /var/log/messages
there is no log in command "last"
kernel version is 2.4.9 (RH2.1 AS)
What could be the reason for this. is this issue is related to uptime counter reached max
how to verify this.
Best Regards
KVK (4 Replies)
Discussion started by: venikathir
4 Replies
7. Red Hat
Hello, I'm using dell inspiron 14R laptop and I installed Redhat enterprise 6.2 on this. After successfully installation i did not found any network interface on this.
when i'm trying to load/add qeth driver . The driver is not found showing this message.
Bash: lsmod | grep qeth
Bash:... (4 Replies)
Discussion started by: dearsumon
4 Replies
8. HP-UX
Hi All,
I am using HP-UX 11i v1(B11.11) servers for my work and its memory (RAM) utilization is consistenly 80% for the last one year. Though I am not facing any issues with this high memory utilization I just want to know the below queries:
1) Is it the default behavior of HP-UX systems?
2)... (20 Replies)
Discussion started by: ssk250
20 Replies
9. AIX
Want to run this by you all before opening a PMR with IBM Support.
It's been a few weeks since I have done this so I can't be 100% sure of how I think it worked in the previous version.
We upgraded our HMC's yesterday to 7.7.9 SP2 in hopes of fixing some issues we were having. Today I needed... (4 Replies)
Discussion started by: juredd1
4 Replies
10. UNIX for Advanced & Expert Users
Hi Fellas,
Not sure how I can dig in even further but we notice that one of our DB servers is showing high Sys% CPU usage even though when I execute the following command :
I can see that postgres is the only one using the CPU. So if anyone can advise me what would be the best way to... (3 Replies)
Discussion started by: arizah
3 Replies
LEARN ABOUT DEBIAN
trampoline_r
TRAMPOLINE(3) Library Functions Manual TRAMPOLINE(3)
NAME
trampoline - closures as first-class C functions
SYNOPSIS
#include <trampoline_r.h>
function = alloc_trampoline_r(address, data0, data1);
free_trampoline_r(function);
is_trampoline_r(function)
trampoline_r_address(function)
trampoline_r_data0(function)
trampoline_r_data1(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_r(address, data0, data1) allocates a closure. When function gets called, it stores in a special "lexical chain reg-
ister" a pointer to a storage area containing data0 in its first word and data1 in its second word and calls the C function at address.
The function at address is responsible for fetching data0 and data1 off the pointer. Note that the "lexical chain register" is a call-used
register, i.e. is clobbered by function calls.
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_r(func-
tion) is called.
is_trampoline_r(function) checks whether the C function function was produced by a call to alloc_trampoline_r. If this returns true, the
arguments given to alloc_trampoline_r can be retrieved:
trampoline_r_address(function) returns address,
trampoline_r_data0(function) returns data0,
trampoline_r_data1(function) returns data1.
SEE ALSO
trampoline(3), gcc(1), varargs(3)
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.
22 October 1997 TRAMPOLINE(3)