julia [switches] -- [programfile] [args...]
--output-ji name Generate a system image data file (.ji)
Leonardo
Thanks, but I have still some trouble.
I try to better explain my problems:
- .ji file creation: I can create a .ji file for a module with precompilation (e.g. with Base.compilecache()); attempting to create .ji file from a julia source using julia executable with command:
$JULIA_HOME/bin/julia --output-ji out.ji -- src.jl
it complains with following message:
ERROR: could not open file boot.jl
- .ji file execution: I don't know how to start a julia program precompiled in .ji