From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Crake-Merani Newsgroups: gmane.lisp.guile.user Subject: Re: Option to create statically linked binaries Date: Wed, 29 Dec 2021 19:27:49 +0000 Message-ID: <20211229192749.74f6ejx7alexp5ei@jamescrake-meraniarch> References: <4c029e88-d7ac-d294-a3dc-447b5be742b8@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12550"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: Sai Karthik Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Dec 29 20:41:50 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 1n2epZ-00034L-HH for guile-user@m.gmane-mx.org; Wed, 29 Dec 2021 20:41:49 +0100 Original-Received: from localhost ([::1]:49084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2epX-0005Wn-UG for guile-user@m.gmane-mx.org; Wed, 29 Dec 2021 14:41:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2ekS-0002YO-Uc for guile-user@gnu.org; Wed, 29 Dec 2021 14:36:34 -0500 Original-Received: from [178.62.35.155] (port=37028 helo=jamescm.co.uk) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2ekQ-0002YA-Fw for guile-user@gnu.org; Wed, 29 Dec 2021 14:36:31 -0500 Original-Received: from localhost (unknown [2.31.208.73]) by jamescm.co.uk (Postfix) with ESMTPSA id DC41F60DF3; Wed, 29 Dec 2021 19:27:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=jamescm.co.uk; s=mail; t=1640806069; bh=ATDDIHMqPlHjJeB2mOQsvSq9BHFJoeUsovKsFKxXtE8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WAIFi9SfhE3qK/fEF8qWmtcoP1eiNdLkUro6VpOGj60FfHzYk0czw+fTI3DE5zBza K0P2VIGohid72/7xVJ2vskUmk42oAwbkRxscc6dIaArhW71eBCqh7kW4m31ngMO8vZ qBWIIrX5jFO14VItty+VwC14YmHEFeuPOnbdLTVV2ohGUnKlnBKMCW9Fs+VUXPFVDH kziQYT9DrOL4jJJqa1ejA/mG+OXEmT47yADNA+HC/7B6b7nCZcGRY7Lv8nfbNsPdne nVSPGvttsx0aERe9nnGhcN5DlaVb6Ru7yWoXvpPGLp2/CoKhnPbmLtaVJw8Ioj0pFv 1JY5E4vyY8Fhw== Content-Disposition: inline In-Reply-To: <4c029e88-d7ac-d294-a3dc-447b5be742b8@disroot.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 178.62.35.155 (failed) Received-SPF: pass client-ip=178.62.35.155; envelope-from=james@jamescm.co.uk; helo=jamescm.co.uk X-Spam_score_int: 10 X-Spam_score: 1.0 X-Spam_bar: + X-Spam_report: (1.0 / 5.0 requ) DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 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:17932 Archived-At: On 21/12/29 10:59pm, Sai Karthik wrote: > Hello everyone! I'm new to guile. I am exploring the language since a couple > of days. It would be nice to have option to produce such binaries for > programs built using guile (like with golang & some more langs). > > Was this topic already discussed here before? Interested to know about your > thoughts. > > -- > https://kskarthik.gitlab.io/ Hi, I'm not sure what you're referring to when you say 'such binaries'. Are you referring to Guile bytecode? If so, you can use the following command: guild compile your-code.scm But unless I'm mistaken, Guile does this automatically. In any case, please let us know what you mean as it'll make it easier for us to help you. I'll link this manual page on the subject below in case its of any use to you. https://www.gnu.org/software/guile/manual/html_node/Compilation.html (Apologies if you recieved this email twice; I accidentally sent it to just you instead of the whole list)