all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Sam Lee <samlee746@yahoo.com>, guix-devel@gnu.org
Subject: Re: Error when compiling file using Bigloo Scheme
Date: Fri, 08 Jul 2022 16:25:21 +0200	[thread overview]
Message-ID: <878rp3bs1a.fsf@gmail.com> (raw)
In-Reply-To: <20220707155649.zmegt2ncimhroxxx@localhost>

Hi,

On jeu., 07 juil. 2022 at 15:56, Sam Lee <samlee746@yahoo.com> wrote:

>     $ bigloo myfile.scm
>     /usr/bin/ld: cannot find -lunistring
>     collect2: error: ld returned 1 exit status

Indeed, bigloo requires some packages.  This works for me:

--8<---------------cut here---------------start------------->8---
$ guix shell -C bigloo libunistring gcc-toolchain libgc pcre \
     -- bigloo /tmp/myfile.scm
--8<---------------cut here---------------end--------------->8---

where myfile.scm is the same as yours.

>     (module mymodule
>             (main start))
>
>     (define (start argv)
>       (display "Hello!")
>       (newline))

Note that it outputs nothing, right?


Well, “guix shell -C” is for being sure all the packages required by the
bigloo compiler are inside the environment.  For regular usage, you can
just use “guix shell --pure” or without any special option, or even
install all the packages in a profile.


Cheers,
simon


  reply	other threads:[~2022-07-08 14:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220707155649.zmegt2ncimhroxxx.ref@localhost>
2022-07-07 15:56 ` Error when compiling file using Bigloo Scheme Sam Lee
2022-07-08 14:25   ` zimoun [this message]
2022-07-08 15:42     ` Sam Lee
2022-07-08 16:53       ` Liliana Marie Prikler
2022-07-11  7:29         ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rp3bs1a.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=samlee746@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.