[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 1 available

From: Claude Marinier
Subject: Re: [Chicken-users] [ANN] CHICKEN 5.0.0 release candidate 1 available
Date: Sat, 11 Aug 2018 17:47:00 -0400

On Sat, 11 Aug 2018 at 17:33, Peter Bex <address@hidden> wrote:
On Sat, Aug 11, 2018 at 05:19:40PM -0400, Claude Marinier wrote:
> address@hidden:~/Programming/scheme$ chicken-install format
The format egg has not yet been ported to CHICKEN 5, so that's why
it cannot be installed.

Hi Peter,
That explains a lot. I see my favourite egg is also not ported: linenoise. I will wait.
> Building a simple time stamp program fails.
> csc timestamp.scm
> ./timestamp > prologue.scm
> Error: unbound variable: command-line-arguments
>     Call history:
>     timestamp.scm:70: command-line-arguments          <--

There is no "time" unit.  In general, you should not be dealing with
units.  In CHICKEN 4 that's sometimes required when building statically,
but in CHICKEN 5 that should always never be necessary.

> timestamp.c:(.text+0x5f3): undefined reference to `C_time_toplevel'
> Then I added this.
> (declare (uses time posix))
> Same error.

You'd need to (import (chicken time posix)), I think.  That should
take care of all the dependencies for you.

Works well. Thanks.

Installed the following eggs without issue: srfi-1, srfi-13, srfi-14, srfi-69.

Chicken 5 is a lot closer.

Thank you.

Claude Marinier

reply via email to

[Prev in Thread] Current Thread [Next in Thread]