/[de-setf-amqp]/readmes/README-build-sbcl.md
ViewVC logotype

Contents of /readmes/README-build-sbcl.md

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations)
Tue Feb 23 09:05:39 2010 UTC (4 years, 1 month ago) by janderson
File size: 1513 byte(s)
Merge commit 'remotes/github/master' into remotes/git-svn
1
2 DE.SETF.AMQP: how to build it with Steel Bank Common Lisp
3 ------------
4
5 In order to use asdf with sbcl,
6
7 The system can be built and saved from the command line
8
9 $ sbcl --userinit readmes/build-init.lisp \
10 --eval "(asdf:operate 'asdf:load-op :de.setf.amqp.amqp-1-1-0-8-0)" \
11 --eval "(asdf:operate 'asdf:load-op :de.setf.amqp.amqp-1-1-0-9-0)" \
12 --eval "(asdf:operate 'asdf:load-op :de.setf.amqp.amqp-1-1-0-9-1)" \
13 --eval '(sb-ext:save-lisp-and-die "sbcl-amqp.core")'
14
15 Start it with the core
16
17 $ sbcl --core sbcl-amqp.core
18 This is SBCL 1.0.35, an implementation of ANSI Common Lisp.
19 More information about SBCL is available at <http://www.sbcl.org/>.
20
21 SBCL is free software, provided as is, with absolutely no warranty.
22 It is mostly in the public domain; some portions are provided under
23 BSD-style licenses. See the CREDITS and COPYING files in the
24 distribution for more information.
25 * (defparameter *c* (make-instance 'amqp:connection :uri "amqp://guest:guest@localhost/"))
26
27 *C*
28 * (amqp:with-open-channel (output *c* :exchange "ex" :type "direct" :queue "q1")
29 (format output "~a, ~a, ~a~%"
30 (lisp-implementation-type)
31 (lisp-implementation-version)
32 amqp.u:*version*))
33
34 NIL
35 * (amqp:with-open-channel (input *c* :queue "q1")
36 (read-line input))
37
38 "SBCL, 1.0.35, de.setf.amqp-20100219T020947Z00"
39 *
40
41 A snap-shot core is present in the downloads section.

  ViewVC Help
Powered by ViewVC 1.1.5