This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Constructing function calls with gcc - Manual bug?


Hi, folks!

Since I wanted to build an interpreter language using gcc, I need a
facility to call extern functions. In order to make this convinient, I
stumbled over the builtin functions described in the Manual at the C
Extensions, 4.5 Constructing Function Calls.

But I don't quite understand the semantics of this internall calls.
1. How do I add/change the arguments?
2. How do I get the return value?
3. __builtin_return(result) seems to leave the program. For what
reason was it meant?

Thanks for your help.
Andre
-- 
Tolerance rulez, everything else sux! -- Andre Kloss



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]