From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: How to run objcode files Date: Sat, 29 Jul 2017 06:08:13 -0700 Message-ID: References: <97e4514e-180d-2f80-d0f0-4436f58e9832@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1501333725 5420 195.159.176.226 (29 Jul 2017 13:08:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 29 Jul 2017 13:08:45 +0000 (UTC) Cc: guile-user@gnu.org To: =?utf-8?B?VG9tbWkgSMO2eW7DpGzDpG5tYWE=?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jul 29 15:08:42 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbRTx-0000zc-MO for guile-user@m.gmane.org; Sat, 29 Jul 2017 15:08:37 +0200 Original-Received: from localhost ([::1]:52362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbRU1-000309-EZ for guile-user@m.gmane.org; Sat, 29 Jul 2017 09:08:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbRTg-0002zs-0K for guile-user@gnu.org; Sat, 29 Jul 2017 09:08:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbRTc-00032A-RE for guile-user@gnu.org; Sat, 29 Jul 2017 09:08:19 -0400 Original-Received: from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]:35384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbRTc-00030u-LS for guile-user@gnu.org; Sat, 29 Jul 2017 09:08:16 -0400 Original-Received: by mail-pg0-x232.google.com with SMTP id v190so121330657pgv.2 for ; Sat, 29 Jul 2017 06:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pjXkAqyE2sVagAdGcBBVBPw8OY8G7jWcXsI3eD17SDY=; b=FmmDViBUOCZcZMAGtoCAqakEC61yiTtMgrahAVn3v6j9GFfR7vCcmeJRNDFih4t6uU OvcJEYKot0zRNECxO+/jxGRLBup1kOgcznFeQxa21TLGnxTKKmZEjknVexv2OeiWDPz0 yH/gGnVCTnV6B2oLa5nIAFsm8BEsyyT/rWvVCL5lu1UGQOmVAI4e/SlwFuuw6DNXMyqX Xt1tg7vFvzlRzymftNPilpwEdP3cfpSO5i5pOIXEZFJIXb/S5Lte0YQz8fH0cnB9s4DJ cXT7LcM2WvnH3KQ9MbuWCNvKNmVIpmRS8iSIDlK1+J4XjW9epuy5rDkGePBXnJHjSV4B i8ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pjXkAqyE2sVagAdGcBBVBPw8OY8G7jWcXsI3eD17SDY=; b=Xm0mAUR5yx8bvoMXl6wYq1+cN8lhCrytQ3Uwj2CEeWqvD1yeq/b3/VBNV/YOjHW/6H OCaOUQx+LsK8e/Gjin2OreSRQNQTaP4kyndgtrD0z40pVOCV5mMguAdbLxDwXT/OLzPn guwAXDUe+BwkJOpD3E/HZlqNvJBGl6RB/+jr622e49yKBwlMZqHNh6yU15YrLLr2LncJ beJo7nZNUOJSaLU+15faDRsTlJc9RQrG9WSAxLwMtKlp2ufuV6rXMdk05XioTifjNGuL 6zN5oiOWclS6uzGW++u7vX2r+/61wCowlOfw2OI5XRtXIuvy8FxjdLIqc1qbBpmGQamM i4Tw== X-Gm-Message-State: AIVw112p+R6enhw7do14GKtyKde9ip5N2PdxMfUqESdI+ZBk68/9hW04 dy6V3mE1oO5lJQ== X-Received: by 10.84.228.215 with SMTP id y23mr10820299pli.358.1501333695836; Sat, 29 Jul 2017 06:08:15 -0700 (PDT) Original-Received: from nautilus.championbroadband.com (216-165-236-44.championbroadband.com. [216.165.236.44]) by smtp.gmail.com with ESMTPSA id w7sm41896910pfw.25.2017.07.29.06.08.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Jul 2017 06:08:15 -0700 (PDT) In-Reply-To: <97e4514e-180d-2f80-d0f0-4436f58e9832@gmail.com> X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::232 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.user:13996 Archived-At: > On Jul 28, 2017, at 8:48 AM, Tommi H=C3=B6yn=C3=A4l=C3=A4nmaa = wrote: >=20 > Hi >=20 > How can I run guile objcode files from the command line? So far I have = made Scheme wrapper scripts that call load-compiled to load the .go = files. >=20 > - Tommi H=C3=B6yn=C3=A4l=C3=A4nmaa >=20 Not sure what you are looking to do but I can do this: mwette$ cat hello.scm (define (hello) (display "hello, world\n")) mwette$ guild compile hello.scm -o hello.go wrote `hello.go' mwette$ guile --no-auto-compile -c '(load-compiled "hello.go") (hello)' hello, world