From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Search path for C libraries Date: Tue, 18 Oct 2005 10:23:34 +0200 Organization: LAAS-CNRS Message-ID: <87mzl7grnd.fsf_-_@laas.fr> References: <878xwx5ld2.fsf@ossau.uklinux.net> <8764s0a7e6.fsf@laas.fr> <8764rzj8py.fsf@ossau.uklinux.net> <87ach8bmdg.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129628427 2846 80.91.229.2 (18 Oct 2005 09:40:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2005 09:40:27 +0000 (UTC) Cc: Guile Users , Neil Jerram Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Oct 18 11:40:18 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERnwX-0005Aw-3b for guile-user@m.gmane.org; Tue, 18 Oct 2005 11:39:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERnwW-0007FV-Dp for guile-user@m.gmane.org; Tue, 18 Oct 2005 05:39:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERmoU-0005vr-37 for guile-user@gnu.org; Tue, 18 Oct 2005 04:27:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERmoO-0005vJ-Px for guile-user@gnu.org; Tue, 18 Oct 2005 04:27:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERmoL-0005v4-1d for guile-user@gnu.org; Tue, 18 Oct 2005 04:27:05 -0400 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ERmoK-0001jS-PS for guile-user@gnu.org; Tue, 18 Oct 2005 04:27:05 -0400 Original-Received: by laas.laas.fr (8.13.1/8.13.4) with SMTP id j9I8QvwB001064; Tue, 18 Oct 2005 10:27:02 +0200 (CEST) Original-To: Greg Troxel In-Reply-To: (Greg Troxel's message of "17 Oct 2005 13:52:18 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 27 =?iso-8859-1?Q?Vend=E9miaire?= an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: Greg Troxel , Neil Jerram , Guile Users X-Spam-Score: 0 () X-Scanned-By: MIMEDefang at CNRS-LAAS X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:4866 Archived-At: Hi, Greg Troxel writes: > Perhaps dynamic-link should look in guilelibdir _only_ if an absolute > path is not given, or a primitive that does this. One important > feature is that inclusion, dynamic link, etc. should be able to ensure > it gets exactly what was searched for and tested at configure time. Right. This is one of the concerns that was raised by Vorfeed Canal earlier I think. Maybe the right way to do this would in fact to have module developers generate the `dynamic-link' code at configure-time (using Autoconf substitution) in order to hard-wire the library path. Unfortunately, this isn't very elegant and it precludes, for instance, running the module's test suite before installing it (because `dynamic-link' would either fail or load the wrong library). This is why extending Neil's mechanism to C libraries might help here. Thanks, Ludovic. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user