The mode parameter indicates the compilation mode.
Note: The Visual LISP IDE is available on Windows only.
You can use one of the following:
-
st Standard build mode - Produces the smallest output file and is suitable for programs consisting of a single file.
-
lsm Optimize and link indirectly - Optimizes the compiled files, but does not create direct references to the compiled functions in the compiled code.
-
lsm Optimize and link directly - Optimizes the compiled files and creates direct references to the compiled function in the compiled code, instead of to the function symbol.
Note: Both the optimization options are best suited for large and complex programs.
The basic functions of optimization are as follows:
- Link function calls to create direct references to the compiled function in the compiled code, instead of to the function symbol. This feature improves the performance of the compiled code and protects the code against function redefinition at runtime.
- Drop function names to make the compiled code more secure and to decrease program size and load time.
- Drop the names of all local variables and directly link their references. This also makes the compiled code more secure and decreases program size and load time.