From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ovidiu Predescu To: Bruno Haible Cc: egcs@cygnus.com, Ovidiu Predescu Subject: Re: GCC/ObjC enhancements, comments requested Date: Mon, 09 Feb 1998 15:33:00 -0000 Message-id: <199802092059.MAA16032@net-community.com> References: <199802091541.QAA10564@halles.ilog.fr> X-SW-Source: 1998-02/msg00387.html On Mon, 9 Feb 1998 16:41:10, Bruno Haible wrote: > 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 Thanks for the pointer Bruno, I've took a look on it several months ago, it's really cool! What I would like to see though is a compiler based approach as it would be much more easier and straightforward than maintaining an additional library. --- Ovidiu Predescu (NeXTMail, MIME) http://www.net-community.com/Users/~ovidiu/ (GNUstep/OPENSTEP free software)