1) @back2dos: Thanks for suggestion, I will do it.
----------------------------------------------------------------------------------------------------
Just to add , the executable,sat Test1, generated by "nektools boot" depends (ldd) on libneko.so and libgc.so .
% ldd Test1
linux-gate.so.1 => (0xb77ca000)
libneko.so => /usr/lib/libneko.so (0xb777f000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7764000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb75b9000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb75b4000)
libgc.so.1 => /usr/lib/libgc.so.1 (0xb7571000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7545000)
/lib/ld-linux.so.2 (0xb77cb000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb7527000)
My main goal was NEITHER to generate a fully static exceutable, NOR to generate a fully dynamic executable like above , BUT I DESIRED TO produce a mixed linked executable which is basically a dynamically linked executable with libneko.so and libgc.so statically linked into it. That is, the desirable executable should show dynamic dependency only on libraries libpthread.so,libc.so etc etc; all the "neko specific libraries" are statically linked into it. This kind of mixed linked executable would have been the "most ideal balanced" combination between - single executable file and portability and executable size So I will be able to send a single mixed linked executable file with smallest possible size to run it on a system where neko or libgc is not preinstalled(as rest of the dependencies as shown in "ldd" will be preinstalled in all the linux systems of same linux distribution type).
----------------------------------------------------------------------------------------------------
3)
back2dos>> OpenFL/NME, which has its own approach to cross compilation).
zaxebo>> Can you point me to an url relevant to the mentioned "OpenFL/NME approach"
Zaxebo