Re: embedding ecl without (build-program)

2016-02-29 Thread Daniel Kochmański
Thanks for the information how you have resolved the issue. As far as I see in the code, compile-file shouldn't delete files, if the names were provided: (to-delete (nconc (unless c-file (list c-pathname)) (unless h-file (list h-pathname)) (unless data-file (li

Re: embedding ecl without (build-program)

2016-02-29 Thread Juraj Variny
In the end have hacked it together using c:build-static-library, which leaves things to be desired: (let ((compiler::*USER-CC-FLAGS* "-I... put here $CFLAGS from the build system") (compiler::*USER-LD-FLAGS* "... put here $LDFLAGS from the build system... ") (objfile (compile-file "

Re: embedding ecl without (build-program)

2016-02-29 Thread Daniel Kochmański
Hello, Juraj Variny writes: > Hello, > > Is there is a way for ECL only to generate a bunch of .cpp files that can be > fed to existing build system? I'm halfway there by generating C from my > (ffi:c-inline) stuff like: > > (compile-file "src/common/lisp/lispinterface.lisp" :output-file > "s

embedding ecl without (build-program)

2016-02-29 Thread Juraj Variny
Hello, Is there is a way for ECL only to generate a bunch of .cpp files that can be fed to existing build system? I'm halfway there by generating C from my (ffi:c-inline) stuff like: (compile-file "src/common/lisp/lispinterface.lisp" :output-file "src/common/lisp/lispinterface.cpp"). But ho