On Nov 3, 2000, Bruce Korb <[EMAIL PROTECTED]> wrote:
> Anyway, you are right that it is generally a simple macro
> definition.
It is not generally simple. Just take a look at all the contortions
GCC has to do to accommodate the various argument-passing strategies.
Sometimes, arguments have to be passed in general-purpose registers,
floating-point registers or the stack, and this often depends on the
type of the argument. A simple macro is hopeless except for a few
simple cases.
If you want to build argument lists on the fly, I strongly recommend
Anthony Green's libffi, available at sources.redhat.com
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me