Does anybody know a web site where I could download gcc for AIX 5.2 (I've downloaded gcc 3.2 from http://www.bullfreeware.com/, but it doesn't work)?
Thanks a lot for your answers. (2 Replies)
Hi there
I've got a problem getting my mysql libraries to work.
every time I compile my source code it gives my a compiler error.
Cannot find a rule to create target /usr/include/mysql/mysql.h
AND
/usr/include/mysql/mysql.h: Permission denied
Is anyone fimiliar with this error, and can... (0 Replies)
Hi there
I've got a problem getting my mysql libraries to work.
every time I compile my source code it gives my a compiler error.
Cannot find a rule to create target /usr/include/mysql/mysql.h
AND
/usr/include/mysql/mysql.h: Permission denied
Is anyone fimiliar with this error, and can... (1 Reply)
hi,
i need to install a source code from an open source on AIX 4.3. but first i need to install gcc.
is gcc going to screw up AIX 4.3? the box is doing heavy legacy stuff with engine and db2 on it. and over 200 users.
any comment would be appreciated.
thanks (9 Replies)
Hi all,
I am using gcc4.1.1 on redhat4.5 and when i rethrow an exception and I am catching it .. The application aborts and throws the following error message to stdout - the error that's been thrown is been caught but never gets that far as it falls over on throw statement
Has anyone ever... (0 Replies)
I'm trying to compile gcc 3.4.6 on AIX 5.2 but I get this error:
bison -t --name-prefix=java_ -o java/parse.c java/parse.y
M4sugar requires GNU M4. Install it before installing M4sugar or
set the M4 environment variable to its path name.make: *** Broken pipe
gcc -c -g -O2 -DIN_GCC -W... (7 Replies)
I just installed gcc on AIX 4.33, and I am having some problems with compiling a simple hello world program. See output below for the issue. The "standards.h" file is not on my system and I don't know where to get it.
Thanks in advance for your help!
# gcc -v
Reading specs from... (2 Replies)
Hi,
I am working with AIX5.3 and I downloaded the gcc-4.2.4.tar.bz2 from the site and when I am trying to un-tar it.It is throwing error--
Please help me to resolve it.
Thanks in Advance.. (6 Replies)
Hi All,
We are in the processing of upgrading our AIX server OS from 5.2.0.0 to 6.1. And we have a set of highly critical running C applications in AIX box. I have a question like whether this upgradation of OS will affect any C code compilation and C runtime enviornment...
how does AIX 6.1... (1 Reply)
after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files
Server:root:/ > rpm -qa | grep gcc
libgcc-4.8.5-1
gcc-cpp-4.8.5-1
gcc-4.8.5-1
gcc-c++-4.8.5-1
but whene we proceed to compile a c programm we have this error
exec(): 0509-036 Cannot load... (2 Replies)
Discussion started by: yahia
2 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)