This is the mail archive of the gcc@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]

Re: GCC/ObjC enhancements, comments requested


Ovidiu Predescu writes:

> What we're trying to build is a system that allows us to build a function
> call at _runtime_, knowing the address of the function, the argument types
> and the return value. ...
> 
> What is needed is a way to access and set the arguments in the frame passed
> to __builtin_apply() and the return value respectively in __builtin_return().

You can do this with the `avcall' part of the `ffcall' library. Have a look
at

    http://clisp.cons.org/~haible/packages-ffcall.html
    ftp://ma2s2.mathematik.uni-karlsruhe.de/ffcall-1.3.tar.gz

Bruno


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