Re: Convenience library in SableVM (libffi)

"Gerrit P. Haase" <[email protected]> Mon, 28 Mar 2005 17:12:43 +0200
Newsgroups gmane.comp.java.vm.sablevm.devel
Organization Esse keine toten Tiere
Message-ID <[email protected]>
Grzegorz,

usually it is sufficient to declare the libtool target as
   noinst_LTLIBRARIES= libffi.la
or if libtool is not used:
   noinst_LIBRARIES= libffi.a
in Makefile.am and let automake do the work.

But I'll take a look at the source from the link you provided and see if
I can get it running.


Gerrit


Grzegorz B. Prokopski wrote:
> 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.


-- 
=^..^=

Action Soccer: http://www.action-soccer.de/?lv=de&id=505
(german online game)