Clon 1.0b23 is out
By Didier Verna on Wednesday, September 26 2012, 15:26 - Lisp - Permalink
A new version of Clon, the Command-Line Options Nuker is out.
Amongst other things, the following improvements have been made:
- Support for ABCL has been updated, now that it provides a full MOP.
- A workaround for SBCL's CC environment variable problem has been implemented. If the variable is not set (required for sb-grovel), Clon now switches to restricted mode instead of aborting.
- The
DUMP
macro has been extend to accept a&rest
argument that will be passed on to the underlying, implementation-specific, dumping facility. - A
contrib
directory has been added, for storing unapplied patches, suggestions etc.
Grab it at the usual place.
Comments
Hi,
Thanks for sharing CLON.
Is there a dev mailing list for CLON ?
I would like to report a pb : when I use the --help long arg, I end up with the help messages of SBCL instead of mine.
regards.
Here's a sample code and the command line I use for compilation. Thank's for your help.
Regards
---
(defpackage #:tch
(:use #:cl #:com.dvlsoft.clon))
(in-package :tch)
(defsynopsis ()
(group (:header "Principal options :")
(flag :short-name "h" :long-name "help"
:description "Print this help")))
(defun main ()
(make-context)
(cond ((getopt :short-name "h")
(help)))
(exit))
;; compilation command line
;; CC=gcc sbcl --eval "(ql:quickload \"com.dvlsoft.clon\")"
;; --eval "(load \"tch.lisp\")"
;; --disable-debugger
;; --eval "(sb-ext:save-lisp-and-die \"tch\" :toplevel #'tch::main :executable t)"
OK, I figured out that I just need to add ':save-runtime-options t' to 'save-lisp-and-die' (SBCL 1.0.58) in my command line for compilation. I used to not use 'clon:dump' for creating my executables because at some point in the past it has not worked with my SBCL version.
Sorry to have bother with a so simple issue !
regards