Paste number 15482: embedded sbcl core on linux

Index of paste annotations: 1 | 2

Paste number 15482: embedded sbcl core on linux
Pasted by: jamesjb
When:19 years, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+BY2
Channel:#lisp
Paste contents:
Raw Source | XML | Display As
[jamesjb@zeta 859:~/devel/sbcl] ls -l src/runtime/sbcl
-rwxr-xr-x  1 jamesjb jamesjb 393289 2006-01-07 17:42 src/runtime/sbcl*
[jamesjb@zeta 860:~/devel/sbcl] dd if=/dev/zero of=padding bs=1 count=4023
4023+0 records in
4023+0 records out
4023 bytes transferred in 0.012284 seconds (327500 bytes/sec)
[jamesjb@zeta 861:~/devel/sbcl] cat src/runtime/sbcl padding output/sbcl.core > standalone-sbcl
[jamesjb@zeta 862:~/devel/sbcl] chmod 755 standalone-sbcl 
[jamesjb@zeta 863:~/devel/sbcl] ./standalone-sbcl --userinit /dev/null
/possible embedded core at displacement 22585344
/confirmed embedded core at offset 397312
This is SBCL 0.9.8.17, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (lisp-implementation-version)

"0.9.8.17"

Annotations for this paste:

Annotation number 1: victory is mine!
Pasted by: jamesjb
When:19 years, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+BY2/1
Paste contents:
Raw Source | Display As
[jamesjb@zeta 583:~/devel/sbcl] src/runtime/sbcl --core output/sbcl.core --userinit /dev/null
This is SBCL 0.9.8.17, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (save-lisp-and-die "standalone-sbcl" :prepend-runtime t)
[undoing binding stack and other enclosing state... done]
[saving current Lisp image into /home/jamesjb/devel/sbcl/standalone-sbcl:
writing 1584 bytes from the read-only space at 0x01000000
writing 1328 bytes from the static space at 0x05000000
writing 22560768 bytes from the dynamic space at 0x09000000
done]
[jamesjb@zeta 584:~/devel/sbcl] ls -l standalone-sbcl
-rwxr-xr-x  1 jamesjb jamesjb 22949896 2006-01-07 23:21 standalone-sbcl*
[jamesjb@zeta 585:~/devel/sbcl] ./standalone-sbcl --userinit /dev/null
This is SBCL 0.9.8.17, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (expt 2 1000)

10715086071862673209484250490600018105614048117055336074437503883703510511249361224931983788156958581275946729175531468251871452856923140435984577574698574803934567774824230985421074605062371141877954182153046474983581941267398767559165543946077062914571196477686542167660429831652624386837205668069376

Annotation number 2: standalone executable kitten of death
Pasted by: jamesjb
When:19 years, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+BY2/2
Paste contents:
Raw Source | Display As
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\jamesjb>cd \devel\sbcl

C:\devel\sbcl>src\runtime\sbcl --core output\sbcl.core
This is SBCL 0.9.8.25, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
os_map: 3, 0x1000, 01000000, 0x1000.
os_map: 3, 0x2000, 05000000, 0x1000.
os_map: 3, 0x3000, 09000000, 0x154f000.

This is experimental prerelease support for the Windows platform: use
at your own risk.  "Your Kitten of Death awaits!"
* (save-lisp-and-die "hello.exe" :toplevel (lambda nil (format t "Hello, (cruel)
 world!~%") (sb-ext:quit)) :executable t)
[undoing binding stack and other enclosing state... done]
[saving current Lisp image into C:\devel\sbcl\hello.exe:
writing 1584 bytes from the read-only space at 0x01000000
writing 1352 bytes from the static space at 0x05000000
writing 22384640 bytes from the dynamic space at 0x09000000
done]

C:\devel\sbcl>dir hello.exe
 Volume in drive C has no label.
 Volume Serial Number is 4CC8-F3A1

 Directory of C:\devel\sbcl

01/09/2006  01:54 AM        23,273,480 hello.exe
               1 File(s)     23,273,480 bytes
               0 Dir(s)  10,563,563,520 bytes free

C:\devel\sbcl>hello
This is SBCL 0.9.8.25, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
os_map: 3, 0xd1000, 01000000, 0x1000.
os_map: 3, 0xd2000, 05000000, 0x1000.
os_map: 3, 0xd3000, 09000000, 0x1559000.

This is experimental prerelease support for the Windows platform: use
at your own risk.  "Your Kitten of Death awaits!"
Hello, (cruel) world!

C:\devel\sbcl>

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.