autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Raw Arguments - last call for comment


From: Alexandre Oliva
Subject: Re: Raw Arguments - last call for comment
Date: 04 Nov 2000 02:28:49 -0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

On Nov  3, 2000, Bruce Korb <address@hidden> 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                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

[Prev in Thread] Current Thread [Next in Thread]