[Openmcl-devel] Re: ffigen for GCC 3.4

Cyrus Harmon ch-openmcl at bobobeach.com
Sun Aug 15 14:21:51 PDT 2004


openmcl-dev,

I have tried to use the ffigen with some success, but I needed to do 
the following:

*** ffi.c       Sun Aug 15 14:07:57 2004
--- ../../ffigen-3.4.1/ffi.c    Tue Aug  3 07:48:48 2004
***************
*** 162,168 ****
     for (; map->gcc_name; ++map)
       if (!strcmp (map->gcc_name, gcc_name))
         return (char*)map->ffi_name;
-   return 0;
     fprintf (stderr, "Bug: couldn't find primitive name for %s\n", 
gcc_name);
     abort ();
   }
--- 162,167 ----
***************

to get it to work right. Otherwise, it complains about not being able 
to find the primitive for __int128_t (I think that's right). One 
difference is that I'm using the gcc-3.4.1 tarball not gcc-3.4.1-core. 
I had to disable gcj and this could be the source of the 128-bit 
weirdness. In any event, I thought you'd like to know. I'll keep 
plowing ahead and see if I can make this work all the way through for 
the stuff I'm working on.

Thanks,

Cyrus


On Aug 4, 2004, at 12:49 AM, Helmut Eller wrote:
> From: Helmut Eller <e9626484 at stud3.tuwien.ac.at>
> Date: August 4, 2004 12:49:59 AM PDT
> To: openmcl-devel at clozure.com
> Subject: ffigen for GCC 3.4
>
>
> Hello!
>
> I just wanted to say that I've ported ffigen to GCC 3.4.1.  There
> where some bitfield related changes and I'm not sure if I did
> everything 100% right.  Anyway, the patches can be found at:
>
>   http://stud3.tuwien.ac.at/~e9626484/ffigen-3.4.1.tgz
>
> Helmut.




More information about the Openmcl-devel mailing list