From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Dr. Arne Babenhauserheide" Newsgroups: gmane.lisp.guile.user Subject: Re: Running Compiled Guile Objects Date: Sat, 14 Dec 2024 20:21:24 +0100 Message-ID: <87msgyax57.fsf@web.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36474"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Hakan Candar , "guile-user@gnu.org" To: Nala Ginrut Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Dec 14 20:22:10 2024 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 1tMXiL-0009Jz-Sx for guile-user@m.gmane-mx.org; Sat, 14 Dec 2024 20:22:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMXhm-0005L5-QK; Sat, 14 Dec 2024 14:21:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMXhk-0005Ku-OQ for guile-user@gnu.org; Sat, 14 Dec 2024 14:21:32 -0500 Original-Received: from mout.web.de ([217.72.192.78]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMXhi-0006aH-Iz for guile-user@gnu.org; Sat, 14 Dec 2024 14:21:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1734204085; x=1734808885; i=arne_bab@web.de; bh=RVmItxTf1hK9JbDVzRGJTrpAw8N9XmSpBpTvJwgfxaI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=tNWB/B0I/YMPNR5xfjQqalLNlL/2UdQ9D6JSVygncry/5rWZpOssvBLDPtyZA+cF C6z3ep8r0tYHfi9yPbobKxB0kdWV6kpKi87AyBJ3C2VoyqVMmqEzgp9Rsbxgq6szU KK2tZU4wGJnw3w0S9nGb8Avf6/B+nRbCbK7HgAkS95rQ7pF3rSMlI/lIz6YG31EXB sDCU9rMSM4hsUDOyrrKxYH/DiBLL7M5WNsaiZlpKXFF5xi5b2hTojP6Lxtw/GsE7h xr/JR5ihatFu0S1wSGIH1Zhxc9UGeuz1YnOgk2B9tsqTON6fwsurH8eDNDaMIzPdY 7U5hjt1ZNeG56bZW6A== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from fluss ([84.165.21.171]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MdwJY-1tv3RL2oWE-00bCSD; Sat, 14 Dec 2024 20:21:25 +0100 In-Reply-To: (Nala Ginrut's message of "Sat, 14 Dec 2024 09:15:48 +0900") X-Provags-ID: V03:K1:fqXBErU34XNWFzrLHRT2CxFWu9AzCcJtK//xx/8wiPRmHxmq8dy 3hmAZ77UcMPMGEIOghlT4tcPxdppxO8/2OJT0uVDoWvy4TeI350SMMD8EYUreMtYo9fcvTq 89N95K3vAWosE38tDkEgEUpMWAHmKRa0+FaBRz2NGKqkdSjCbsgt+fhKuyUV5N83vfqzDtY 9FbohhAwTAHZdCah6g4mQ== UI-OutboundReport: notjunk:1;M01:P0:ZJ1LHfOz/is=;Rtfan/7pTuw6rvlSs+eayfISMwn 7ZmVmF+f6WTisWhYqxtLnbY5hcVakSXibJPiyr+ZQ7QIhhvHWwEJTnCgndklDNwRbuR9dTddZ VZ1cWjkx/FVXonAtNXY8ghbTggYdy41KzhmxfSfuvYJypMrTMGB2T3jNC10S5R98JDugwB/0q ax4gRFSLiTyMrwNl2vrIpNQ9AtsHWILi+A3yw/MhkKo6sWVVZCgaNYc4ycj8bsGj+qckAUn1k zaL57Ov8VGvOGE0E6BTWZXFSW1fNmAseM+5wL5KnGzGWuFlPvBWZFwKdoAyYcL/ZoQ2T3HXRK 2LMWWQKeTi1ueDwGIA2nctaGLLOOW7ANtup+NAkBVJnddsbqSn71QqHj/qc6PKTLvNiijQJpt 4LNOVKUN57cKuvCkwPaC2rQwKk7f40s37Tx9yBh/QTvMlr6xBOpzp6kT+Eafbn/zjCxkiZx6W n4ExdEuiqtB6Tb+4C9PEEEeE5Zf8DagpWc/lgGx9cdtJs9DV0OyEM6ncZzEUFNAFVz1pwkqj6 BwOOctuKP8JKvJvq6oAzHgbI9IaeEr56DyxEPXxoVJKDRjoylk7ymf8bkZyz036MUZE861bOa 8SOd6N0nZF6QJLgImS9TkQ9eGr9Dm88Ju52pD/w82a8DG9d3QoM/u7j68aueLv2Db7KaRaG14 4zJLlAmTKao0/GyFwrJzzdeI/V9ILJfEb8PLakBM2DN0Iji2i538ix8CN3egR8kt5b32/cQuC S7JH6ZO7WpDMJ9TIhQRHNFkup6T/p7tDR4H+2UL8Ckf3SHuwtikih75OvA7DFTy6BN6P7e2a Received-SPF: pass client-ip=217.72.192.78; envelope-from=arne_bab@web.de; helo=mout.web.de 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=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.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-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19996 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Nala Ginrut writes: > On Sat, Dec 14, 2024, 07:35 Hakan Candar via General Guile related > discussions wrote: >> I tried the following commands with no luck: >> guile3.0 example.scm.go >> guile3.0 --language=3Dbytecode example.scm.go >> > The current Guile is not AOT yet. Although the object file is ELF, it's > just bytecode wrapped ELF header. So you can't run it as a regular > executable file. The commands don=E2=80=99t look like running the files as executables, but rather like running bytecode from Guile. I think what works is guile3.0 -C . -L . -e '(example)' -c '' That should execute the main function in a module created with (define-module (example) #:export (main)) (define (main args) #t) Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein, ohne es zu merken. draketo.de --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmdd2rQQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD65F+EACblUPLxkNk1rQ4OmepsZqWJ31NdMLFwOIm t2jTlMTdJkU8O3+AXs3fGwn6aaa4MYbK/BdCe9J70Ko6EuSM1Bvi96N1ZNVGyFf2 9DoFlqpRGr6/qYMzj7bqygr4hHYD0y6gxPjd2uF5Q9v4pVoAxcvlcmShJCP+rvsT z6asQ6fDQKFDCx8IwyheMELwHx5HfNZMsYguHRbFycLNn3GTzmNXzIoJP9/Z4/aS FOWCcdoHIx3ZFX8aHnXD/RdaBZ9vxEZpIAWo/16H02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