From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Shann Newsgroups: gmane.lisp.guile.user Subject: statically linking in srfi modules Date: Fri, 08 Feb 2013 09:24:16 +0000 Message-ID: <1360315456.2172.131.camel@debian-box.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360315681 1952 80.91.229.3 (8 Feb 2013 09:28:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2013 09:28:01 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Feb 08 10:28:22 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U3kFp-0005FV-Pb for guile-user@m.gmane.org; Fri, 08 Feb 2013 10:28:21 +0100 Original-Received: from localhost ([::1]:58020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3kFW-0005CS-Sl for guile-user@m.gmane.org; Fri, 08 Feb 2013 04:28:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3kFR-0005C7-AU for guile-user@gnu.org; Fri, 08 Feb 2013 04:27:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3kFP-0001Kj-W2 for guile-user@gnu.org; Fri, 08 Feb 2013 04:27:57 -0500 Original-Received: from mail-wg0-f47.google.com ([74.125.82.47]:58818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3kFP-0001Ke-Pz for guile-user@gnu.org; Fri, 08 Feb 2013 04:27:55 -0500 Original-Received: by mail-wg0-f47.google.com with SMTP id dr13so2707280wgb.26 for ; Fri, 08 Feb 2013 01:27:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-proxyuser-ip:subject:from:to:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding :x-gm-message-state; bh=LGf0JgQrLOx1KMdP/sjMr03YiJQuRa9UPzs/93mXZPM=; b=R5wQkOgipl36XM3oP1w3Cyl1YNjV08i2liA3O+NUryK4s35R92H4mBgEksMuWtjM6e 6Gu6IPai2o/hCFBsK7j4iupLxZZ6u9QXqBM+0zEDl4VyqksSXFeUEMe85oCeVtkjLIG0 S4BneI8AE28z0sNvl2BGY2XGRvw5fYNPORa7w9SJpbNoEQByT4MwqY0w4grSUl/mjYTs pE32dqatJBbdubWwA3oRvMr55c4WBk36y9USglPZpT8x91t1aeEvNAqeD+/SlEA0RW6O z5XqXbd1dtEKTVpj2IKzbaSWEqi3ovAfF9fpFwD00Wzp1rZENXFjw31bSlObG2Db5CXx YK8Q== X-Received: by 10.194.109.10 with SMTP id ho10mr8262546wjb.16.1360315674826; Fri, 08 Feb 2013 01:27:54 -0800 (PST) Original-Received: from (know-mailgateway-2.server.virginmedia.net. [62.254.26.101]) by mx.google.com with ESMTPS id e12sm14231376wiw.5.2013.02.08.01.27.53 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 08 Feb 2013 01:27:54 -0800 (PST) Original-Received: from source ([146.90.136.35]) by smtp.virginmedia.com with SMTP; Fri, 08 Feb 2013 09:27:53 +0000 (GMT) X-ProxyUser-IP: 146.90.136.35 X-Mailer: Evolution 2.30.3 X-Gm-Message-State: ALoCoQlRMcJu0pcfihLdvsAe1BfZ/g9gHHHMEn5Xn+IKSPqV+yGOSAOosQLu/52I1x5nFk5OwQw6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.82.47 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10041 Archived-At: Is it possible to statically link in the srfi modules? For GNU/Denemo we are currently trying http://mxe.cc to build for ms windows. Guile is being built with --disable-shared and in consequence when denemo loads srfi-1 the dynamic loading it does: (load-extension "libguile-srfi-srfi-1-v-3" "scm_init_srfi_1") fails. If OTOH I put --enable-shared then the link fails lacking further shared libraries libgmp libltdl libunistring libintl libiconv. Can someone suggest how to proceed - there is no critical objection to using shared libraries, but all those libraries are already built in mxe as static libraries; is there a way to build guile with the srfi stuff ready linked in? Richard Shann