Re: [Sbcl-devel] UFFI + ASDF

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Tue, 30 Sep 2003 15:53:55 -0600
Newsgroups gmane.lisp.uffi.devel,gmane.lisp.steel-bank.devel
Message-ID <[email protected]>
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Nikodemus Siivola wrote:
> In order to semi-gracefully compile and load foreign glue for UFFI
> with ASDF I've written a simple hack and put it up at:
>  http://random-state.net/files/asdf-uffi-loader_latest.tar.gz

Thanks for the code, Nikodemus. Your program does help build on
linux. Two issues about your program:
  - It doesn't check first if the library exists in the standard
  system library locations as it would exist on a Debian system
  - It doesn't build a correct shared library on other platforms that
  UFFI supports, such as Darwin, Solaris, and Win32.

> I was wondering if it would make sense to

These was some talk of this on IRC. In general, each program managing
building its own shared libraries is far from optimal. It would be
nice to centralize building of shared libraries and this building
should work on varied lisp implementations and operating
systems. Thus, such a builder really becomes a significant maintanence
issue as a compatibility library.

One simple way around it, perhaps, it to have .asd files invoke the
"make" command and have the makefiles of libraries be responsible for
building their own shared libraries.

Kevin

--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/eftzES7N8sSjgj4RAltrAJ9sAEX1qMCqkVSy3w/EtIrAvrHz2ACeI/dj
cm5bP4EvUnTg3a7Xe3oQVE4=
=fYIw
-----END PGP SIGNATURE-----

--Dxnq1zWXvFF0Q93v--