This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: Question about clisp version naming
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin-apps at cygwin dot com
- Date: Sun, 22 Mar 2015 18:33:24 -0400
- Subject: Re: Question about clisp version naming
- Authentication-results: sourceware.org; auth=none
- References: <5500B536 dot 4050108 at cornell dot edu> <87bnju6wox dot fsf at Rainer dot invalid> <5505C36F dot 5030802 at cornell dot edu> <1426443595 dot 8104 dot 9 dot camel at cygwin dot com> <5505D57C dot 3040005 at cornell dot edu> <87twxm5azp dot fsf at Rainer dot invalid> <55060BF6 dot 80801 at cornell dot edu> <87k2ygbw7v dot fsf at Rainer dot invalid> <87fv94bveq dot fsf at Rainer dot invalid> <87bnjsbuhm dot fsf at Rainer dot invalid> <55073E93 dot 2030902 at cornell dot edu> <87vbhzph1g dot fsf at Rainer dot invalid> <5508998A dot 6040903 at cornell dot edu> <1426628400 dot 12464 dot 38 dot camel at cygwin dot com> <5508AD6F dot 60309 at cornell dot edu> <5508C42B dot 6030804 at dronecode dot org dot uk> <5508CCB4 dot 6080108 at cornell dot edu> <5508D02D dot 3080506 at cornell dot edu> <1426643243 dot 12464 dot 56 dot camel at cygwin dot com> <55097398 dot 10506 at cornell dot edu> <87oankah8y dot fsf at Rainer dot invalid>
On 3/22/2015 4:50 PM, Achim Gratz wrote:
Ken Brown writes:
And indeed it does. I've still got a couple of things to clean up,
but I expect to upload a new clisp soon that no longer uses lisp.dll.
I hope that will solve the Maxima problem
It doesn'tâ Instead of lisp.dll it now requires lisp.exe to be in $PATH
and it produces an executable that immediately segfaults. This has
nothing to do with maxima, you can produce the same abort more simply
with:
clisp -norc -q -x '(progn (ext:saveinitmem "test.exe" :init-function (function exit) :EXECUTABLE t))'
env PATH=${PATH}:/usr/lib/clisp-2.49+/base ./test.exe
But saving non-executable memory images seems to work fine:
$ clisp -norc -q -x '(progn (ext:saveinitmem "test.mem" :init-function
(function exit)))'
[output deleted]
$ clisp -M test.mem
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Welcome to GNU CLISP 2.49+ (2010-07-17) <http://clisp.org/>
Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2010
Type :h and hit Enter for context help.
Bye.
So maybe you could dump a memory image maxima.mem and start it with a
script that calls 'clisp -M maxima.mem'.
Ken