This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Libffi problem on darwin (MacOSX)
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Ronald Oussoren <oussoren at cistron dot nl>
- Cc: Dale Johannesen <dalej at apple dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 26 May 2003 07:12:54 +0200
- Subject: Re: Libffi problem on darwin (MacOSX)
- References: <6AD0ED77-8EF1-11D7-AD55-0003931CFE24@cistron.nl>
Ronald Oussoren wrote:
On Saturday, May 17, 2003, at 17:21 Europe/Amsterdam, Andreas Tobler
wrote:
I just noticed that this might well be stupidity on my part, I tried
to write a minimal program that demonstrates the problem and that
runs without problems. Our real code builds ffi_cifs and
ffi_closures at runtime, and maybe that code is bogus.
Could be, but if I remember right, I didn't complete the structure
passings. Maybe it works, but if not, then I certainly have to check
again. Well, I'll do that anyway.
The following hack seems to work for the limited tests that I've done.
Note that this is *not* based on any understanding of the PPC calling
conventions, and therefore likely incorrect.
Thanks, I'll have a look at. It'll take a while since I will test
against libgcj which needs a longer time to build.
Do you have a dedicated testcase for?
Andreas