LibFFI (and popt) in SableVM sources [was: Re: SableVM on Windows (newbie)]

"Grzegorz B. Prokopski" <[email protected]> Sun, 27 Mar 2005 23:01:25 -0500
Newsgroups gmane.comp.java.vm.sablevm.devel
Organization SableVM - LGPL'ed Free Java VM http://sablevm.org
Message-ID <[email protected]>
On Sat, 2005-26-03 at 11:40 -0500, Etienne Gagnon wrote:
> [Note: I'm on IRC now]
> 
> > /usr/include/ffi.h:63:23: fficonfig.h: No such file or directory
> 
> Hmmm.  You're missing libffi header files.
> 
> Try the one attached.  [not sure if they'll work, as I picked them on my
> debian/ppc machine... but hey, if they do, you'll be able to progress
> further. ;-)]

AFAICT the two libffi functions that SableVM uses don't seem very likely
to change anytime soon.  OTOH the lack of libffi headers is sure to be a
big PITA for every new user.

I recall that Gerrit (aka Master of Cygwin) once showed us how to make
libffi a convenience library.  This could be made optional and
autodetected, so that internal libffi was used when no system-wide
libffi installation was found.   We could do the same with libpopt,
which is also another small library causing big PITA to our users. [*]

Comments?

			Grzegorz B. Prokopski

[*] No, we are NOT not going to include GTK+ nor X libs as "convenience
libraries" in SableVM's class library sources. ;-)
-- 
Grzegorz B. Prokopski           <[email protected]>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org