eql5/README-2-REBUILD.txt

54 lines
1.1 KiB
Text

REBUILD STEPS (on every upgrade of: ECL, Qt, EQL)
=============
1) remove directory src/tmp/
remove file slime/thread-safe.fas*
remove file src/lisp/ecl-readline.fas*
2) ecl -shell make-eql-lib.lisp
3) qmake, make in this order: (MSVC: nmake)
eql_lib.pro
eql_exe.pro
module_network.pro
module_...
for readline (Unix):
ecl -compile src/lisp/ecl-readline.lisp
Optionally (integrate wrapper functions):
4) eql5 make-eql-lib-wrappers.lisp
5) re-link EQL library:
touch tmp/eql.o (or delete "tmp/eql.o*")
qmake eql_lib.pro
make
IMPORTANT NOTES
===============
C++:
You always need to rebuild from any "*.pro" file (EQL modules, Qt_EQL...) after
upgrading EQL.
The simplest way to clean everything is to remove the whole "tmp/" directory in
the respective build directory, since the Makefile generated by Qt not always
works correctly with "make clean" (e.g. on Windows).
Lisp:
It's also recommended to recompile any compiled EQL code (because of the tight
ECL/C++ integration).
TIP
===
If you're on Linux, see "src/rebuild".