This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Constructing function calls with gcc - Manual bug?
- To: gcc-help at gcc dot gnu dot org
- Subject: Constructing function calls with gcc - Manual bug?
- From: Andre Kloss <kloss at rbg dot informatik dot tu-darmstadt dot de>
- Date: Thu, 31 May 2001 10:00:52 +0200 (MET DST)
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