Hello,
is there some docu available on build_exec and similar. I've tried now a
few times, but failed a few times like
LoadError(at "sysimg.jl" line 319: LoadError(at
"/home/lobi/julia04/base/userimg.jl" line 1: LoadError(at
"/home/lobi/juliarepo/s1.jl" line 7: UndefVarError(var=:STDOUT))))
when trying to use @printf,
like this
LoadError(at "sysimg.jl" line 319: LoadError(at
"/home/lobi/julia04/base/userimg.jl" line 1: LoadError(at
"/home/lobi/juliarepo/s1.jl" line 7: Base.MethodError(f=display, args=(-
2962033225986919792,)))))
when trying to use display and like this,
NFO: Linking sys.so
INFO: System image successfully built at /home/lobi/julia04/usr/lib/libs1.
exe.so
INFO: To run Julia with this image loaded, run: julia -J /home/lobi/julia04/
usr/lib/libs1.exe.so
running: gcc -g -Wl,--no-as-needed `` -I/home/lobi/julia04/usr/include/julia
-I/home/lobi/julia04/src -I/home/lobi/julia04/src/support -I/home/lobi/
julia04/usr/include /tmp/tmptXPRwY/start_func.c -o /home/lobi/julia04/usr/
bin/s1.exe -Wl,-rpath,/home/lobi/julia04/usr/lib -L/home/lobi/julia04/usr/lib
-ljulia -ls1.exe
/tmp/tmptXPRwY/start_func.c: In function ‘main’:
/tmp/tmptXPRwY/start_func.c:19:5: error: too few arguments to function ‘
jl_atexit_hook’
jl_atexit_hook();
^
In file included from /tmp/tmptXPRwY/start_func.c:1:0:
/home/lobi/julia04/src/julia.h:1130:16: note: declared here
DLLEXPORT void jl_atexit_hook(int status);
^
ERROR: LoadError: failed process: Process(setenv(`gcc -g -Wl,--no-as-needed
recently.