From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: What replaces scm_register_module_xxx (Doc update?) Date: Thu, 08 Aug 2002 09:31:51 -0500 Sender: guile-devel-admin@gnu.org Message-ID: <874re5mnfs.fsf@raven.i.defaultvalue.org> References: <20020808134824.GB23831@www> <20020808102103.021cdc0c.dsmith@altustech.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028817083 6114 127.0.0.1 (8 Aug 2002 14:31:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 8 Aug 2002 14:31:23 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17coJs-0001aL-00 for ; Thu, 08 Aug 2002 16:31:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17coKb-00057Q-00; Thu, 08 Aug 2002 10:32:05 -0400 Original-Received: from dsl-209-87-109-2.constant.com ([209.87.109.2] helo=defaultvalue.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17coKO-00055z-00 for ; Thu, 08 Aug 2002 10:31:52 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 2AA133D5E; Thu, 8 Aug 2002 09:31:52 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id D356270D; Thu, 8 Aug 2002 09:31:51 -0500 (CDT) Original-To: "Dale P. Smith" In-Reply-To: <20020808102103.021cdc0c.dsmith@altustech.com> ("Dale P. Smith"'s message of "Thu, 8 Aug 2002 10:21:03 -0400") Original-Lines: 31 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1012 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1012 "Dale P. Smith" writes: > The new method is to use a .scm file that defines the module, > dynamically loads the compiled code, and then exports whatever you > need. Right. (define-module (foo bar)) (load-extension "libguile-foo-bar-v-1" "init_guile_foo_bar-v-1") (export foo-1) (export foo-2) (export bar-1) ... Putting the library major version number into the shared lib name isn't required by the code, but it's highly recommended for now. This will keep you from having .la name conflicts and from not being able to know which version of your lib will get loaded if/when you need to release libguile-foo-bar-v-2. i.e. libguile-foo-bar-v-2.so.2.0.0. This may just be a temporary practice. It depends on what we figure out during the 1.7 series regarding dynamic linking. Hope this helps. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel