Convenience library in SableVM (libffi)

"Grzegorz B. Prokopski" <[email protected]> Mon, 28 Mar 2005 02:54:00 -0500
Newsgroups gmane.comp.java.vm.sablevm.devel
Organization SableVM - LGPL'ed Free Java VM http://sablevm.org
Message-ID <[email protected]>
Hello Gerrit,

You might recall, the Cygwin patch for SableVM you once prepared
(thanks!).  At that time we merged everyting besides the part that made
the libffi library a convenience library included in SableVM sources.

In retrospect, I think you were right: that was the way to go.  And
so now I want to make libffi a convenience library.  I managed to get it
mostly working, but ran into problems:


1. When invoking 'make install' for sablevm the libffi will also
install its files.  I added an ugly check for ../libsablevm that
disables the 'install' target int libffi's toplevel Makefile.
Is there a clener/more standard way to do that?


2. The 'dist' tarball works, and includes libffi.  But 'distcheck' fails
with:

Making all in libffi
/bin/sh: line 1: cd: libffi: No such file or directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/export/nobackup/localhost/gproko/work/svm-convlib/sablevm-convlib
+3842/_build/src'


At http://gadek.homelinux.org/sablevm-convlib.tgz
you'll find the version that includes libffi, in case you needed the
access to actual code in question.


I'll be very thankful for all clues, hints or good RTFMs. [*]

				Grzegorz B. Prokopski


[*] Of course I googled for over an hour, but didn't find (m)any
relevant informations.
-- 
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