Re: shrinking clisp at build

Sam Steingold <[email protected]> Mon, 09 Oct 2017 22:48:35 -0400
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
> * Mayuresh Kathe <[email protected]> [2017-10-09 22:09:18 +0500]:
>
> is it possible to shrink a clisp system during a from scratch build?
> i really don't need 'clos', 'ffi', "readline support" for the work i
> intend to do, hence, believed it might be possible to improve
> performance of the clisp system by making it smaller and lighter.

You can easily avoid FFI and readline at configure time
(--without-libffcall, --without-libreadline or some such,
use --help to ascertain the spelling).

I doubt that you can avoid all of CLOS because it is used by the
condition system, but you can probably avoid much MOP.

You can try though ;-)

Basically, edit "src/init.lisp" and comment out any `load` you don't
like.

I doubt this is worth the effort though.
The parts you don't use don't cost you anything, CLISP bytecodes are
relatively light-weight, so you will not save anything on speed and very
little on space.

Good luck.

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
http://steingoldpsychology.com http://www.childpsy.net http://no2bds.org
http://think-israel.org http://www.memritv.org http://camera.org
C combines the power of assembler with the portability of assembler.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list