On Sunday 28 March 2004 22:39, Anton Ertl wrote:
> The errors above will happen whenever the double type is not long
> long, i.e. on all I32LP64 systems in addition to the PPCs.  Someone
> should #ifdef the code of AV_LONGLONG etc. for this cases, just like
> D+ has an #ifdef for this case.

Yes. It's quite likely that this platform also doesn't support calling with 
long long as argument.

> BTW, libffi seems to be part of recent gccs and seems to be installed
> when you install gcc.  Some of the thoughts that come to my mind:
>
> - libffi may be better maintained and/or have more targets than ffcall
> (not checked).

As far as I checked, the number of targets is the same (though not 
completely overlapping). On the other hand, libffi does not support 
callbacks, something that's necessary for quite a number of C libraries.

> - libffi would often require less effort than ffcall from the gforth
> installer.
>
> - How much more effort is it to use libffi?

Not much, i.e. about the same as the integration of ffcall.

> - How about using them alternatively (whichever is available on
> installation)?  Do both fit with our higher-level interface?

Yes (except for the callbacks).

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to