From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.user Subject: Re: debugging guile test failure and segfault. Date: Wed, 13 Jun 2007 09:05:55 -0400 Message-ID: References: <46644283.2070003@mtl.mit.edu> <87myzd4hj5.fsf@laas.fr> <466AB6CE.8020901@mtl.mit.edu> <878xasvsbh.fsf@chbouib.org> <466C28BE.1090304@mtl.mit.edu> <87r6oikxwx.fsf@chbouib.org> <87odjlgktf.fsf@chbouib.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1698351513==" X-Trace: sea.gmane.org 1181739971 31409 80.91.229.12 (13 Jun 2007 13:06:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 13:06:11 +0000 (UTC) Cc: guile-user@gnu.org To: ludo@chbouib.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jun 13 15:06:10 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HySY4-0001zK-39 for guile-user@m.gmane.org; Wed, 13 Jun 2007 15:06:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HySY3-0005fW-Li for guile-user@m.gmane.org; Wed, 13 Jun 2007 09:06:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HySXy-0005ei-5C for guile-user@gnu.org; Wed, 13 Jun 2007 09:06:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HySXx-0005eR-2J for guile-user@gnu.org; Wed, 13 Jun 2007 09:06:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HySXw-0005eI-MJ for guile-user@gnu.org; Wed, 13 Jun 2007 09:06:00 -0400 Original-Received: from fnord.ir.bbn.com ([192.1.100.210]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HySXw-0002Xc-5t for guile-user@gnu.org; Wed, 13 Jun 2007 09:06:00 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 7995252A6; Wed, 13 Jun 2007 09:05:59 -0400 (EDT) X-Hashcash: 1:20:070613:ludo@chbouib.org::IbmLeiMRvLZRDNyS:053AP X-Hashcash: 1:20:070613:guile-user@gnu.org::IbmLeiMRvLZRDNyS:0000000000000000000000000000000000000000000AB81 In-Reply-To: <87odjlgktf.fsf@chbouib.org> ("Ludovic =?iso-8859-1?Q?Court?= =?iso-8859-1?Q?=E8s=22's?= message of "Tue, 12 Jun 2007 19:10:52 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/21.4 (berkeley-unix) X-detected-kernel: Genre and OS details not recognized. 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:5994 Archived-At: --===============1698351513== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable ludo@chbouib.org (Ludovic Court=E8s) writes: > Greg Troxel writes: > >> I think guile should have a .pc file for pkg-config and guile-config >> should be deprecated eventually. That's really orthogonal. > > Yeah, that's probably the way to go. It's also more > cross-compilation-friendly I think. There's a huge advantage in being standard. pkgsrc on NetBSD basically has to add -R to lots of things. There's support in pkgsrc for dealing with this for pkgconfig that's very easy to use. pkg-config also can be built as a host tool, which the cross-compile framework would have to deal with only once. example: In pkgsrc/devel/at-spi/Makefile there is: PKGCONFIG_OVERRIDE+=3D cspi-1.0.pc.in PKGCONFIG_OVERRIDE+=3D libspi-1.0.pc.in and pkgsrc/mk/configure/pkg-config-override.mk has code to sed the platform-appropriate RPATH flags into the Libs: line: # $NetBSD: pkg-config-override.mk,v 1.2 2006/07/10 16:12:20 jlam Exp $ ###################################################################### ### pkg-config-override (PRIVATE) ###################################################################### ### pkg-config-override inserts the compiler's "rpath" flag into ### pkg-config data files so that ``pkg-config --ldflags '' will ### return the full set of compiler flags needed to find libraries at ### run-time. ### .PHONY: pkg-config-override pkg-config-override: @${DO_NADA} .if defined(_USE_RPATH) && !empty(_USE_RPATH:M[yY][eE][sS]) pkg-config-override: subst-pkgconfig PKGCONFIG_OVERRIDE_SED=3D \ '/^Libs:.*[ ]/s|-L\([ ]*[^ ]*\)|${COMPILER_RPATH_FLAG}\1 -L\1|g' PKGCONFIG_OVERRIDE_STAGE?=3D pre-configure SUBST_CLASSES+=3D pkgconfig . if ${PKGCONFIG_OVERRIDE_STAGE} =3D=3D "pre-configure" SUBST_STAGE.pkgconfig=3D do-configure-pre-hook . elif ${PKGCONFIG_OVERRIDE_STAGE} =3D=3D "post-configure" SUBST_STAGE.pkgconfig=3D do-configure-post-hook . else SUBST_STAGE.pkgconfig=3D ${PKGCONFIG_OVERRIDE_STAGE} . endif SUBST_MESSAGE.pkgconfig=3D Adding run-time search paths to pkg-config files. SUBST_FILES.pkgconfig=3D ${PKGCONFIG_OVERRIDE:S/^${WRKSRC}\///} SUBST_SED.pkgconfig=3D ${PKGCONFIG_OVERRIDE_SED} .endif --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (NetBSD) iD8DBQFGb+uz+vesoDJhHiURAnooAKCNvf37dEBvtp10CDEhEsMU6WELBwCfcgs+ Tu0ndX7/6T/I27R2LTXZQus= =C27E -----END PGP SIGNATURE----- --=-=-=-- --===============1698351513== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user --===============1698351513==--