From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adriano Peluso Newsgroups: gmane.lisp.guile.user Subject: Re: build system for pure Guile library (was Re: Help making a GNU Guix package for pure GNU Guile library) Date: Wed, 03 Feb 2021 19:31:27 +0100 Message-ID: References: <87y2gagm8n.fsf@elephly.net> <20210131002501.szumrlgssp6thhge@pelzflorian.localdomain> <87mtwphb63.fsf@elephly.net> Reply-To: randomlooser@riseup.net Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38348"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: Zelphir Kaltstahl Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Feb 03 19:32:56 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7MxU-0009rv-2m for guile-user@m.gmane-mx.org; Wed, 03 Feb 2021 19:32:56 +0100 Original-Received: from localhost ([::1]:55712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7MxN-0002as-Rw for guile-user@m.gmane-mx.org; Wed, 03 Feb 2021 13:32:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Mwc-0002aJ-Rq for guile-user@gnu.org; Wed, 03 Feb 2021 13:32:02 -0500 Original-Received: from mx1.riseup.net ([198.252.153.129]:53812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7MwV-0005YR-Ep for guile-user@gnu.org; Wed, 03 Feb 2021 13:32:02 -0500 Original-Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DW9Hx3xkGzFqGP; Wed, 3 Feb 2021 10:31:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1612377101; bh=KXRaSjRK0iHXUQAkaGdZvPpCp00xgIv96BcrModKOyA=; h=Subject:From:Reply-To:To:Cc:Date:In-Reply-To:References:From; b=XJCUCbjzd91wtbv/KwFogfWzMXyvI7R84Y4xLJElk3/d4hKdIhzEsX9oTvkxr4unj /z5WxZr+CXiMMw8BMEpXrNv7Lofrybuioc3QNpX68tylpL+Q7nQ3/DHQ4yc2jVYQwb noatpxrBhzzkaNgAaVHktAd5W77ljW0L19svi85A= X-Riseup-User-ID: 5C5C6CCE1F75477F23BE4183031D5F0FFCC3D77265FCEAA9A78747BBBF36422A Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4DW9Ht5Dr9z1yP8; Wed, 3 Feb 2021 10:31:38 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=198.252.153.129; envelope-from=randomlooser@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17222 Archived-At: Il giorno dom, 31/01/2021 alle 15.16 +0100, Zelphir Kaltstahl ha scritto: > > > However, if anyone told me a good reason to also use autotools to > manage > a build process of my code, and I can get it working and understand > how > to do it, then why not. One good reason could be that your Guile based project wraps some C library, like guile-git In that case, if you want to support shipping your project to non guix platforms, the services of autoconf (for testing if the C library is available on that platform, in which version, if it has this and that functionality) could be useful And this goes not only with wrapping C libraries but also with extensions If your project doesn't deal with any C code, the reason to use the autotools is for installing it in a way that it's available to all the users on a Unix machine And finally, it could help distributions in packaging it These 2 points could be true for the Guile build system too, I don't know Hope this helps