Re: How to use another module at build time?

Sam Steingold <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <[email protected]>
> * Michael Kappert <[email protected]> [2012-04-08 22:08:02 +0200]:
>
> Nothing is wrong with the above REQUIRE form itself, but with the way
> clisp-link is used in the overall Makefile (in the 'full' target): It
> first tries to compile all requested modules before creating dynmod
> entries.

This is not true.
prepare_dynamic_module in clisp-link is called for each module one by
one and it does create the files in dynmod one by one.

I am not sure what the cause of your problems is; please try to debug them.

> - The example at http://www.clisp.org/impnotes.html#mod-set-example
>    has the argument to clisp-link in the wrong order:
>      4. $ -link add linux base base+linux
>    should be
>      4. $ -link add base base+linux linux

fixed, thanks.

> - clisp-link handles absolute directories incorrectly:
>     ./clisp-link add base base+gir /modules/configured/gir
>     produces dynmod/gir.lisp
>     (ext:appease-cerrors ; for DEF-CALL-OUT to non-existent functions
>       (cl:load (cl:merge-pathnames 
> "..//modules/configured/gir/ffigen.fas" cl:*load-truename*)))
>     => note the "../" is wrong here.

this is not supported.
http://clisp.org/impnotes/clisp-link.html#opt-add:
`module' argument is not a directory path, it's a module name

> - clisp-link add <source> <target> <module>
>    exits with error if <target> exists. It would be nice if at least
>    clisp-link add <target> <target> <module> was allowed.

this is a safety feature.
http://clisp.org/impnotes/clisp-link.html#opt-add:

....in the directory destination which is newly created

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://www.childpsy.net/ http://honestreporting.com http://ffii.org
http://dhimmi.com http://americancensorship.org http://jihadwatch.org
Life is a sexually transmitted disease with 100% mortality.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.