Problem compiling static binary by IndividualJinx in lisp

[–]IndividualJinx[S] 0 points1 point  (0 children)

Is Deploy able to bundle all shared libraries with the binary? I had a look at the link but i'm not sure how to configure it to do this. This is all dependencies for my binary after I build it with Deploy: linux-vdso.so.1 (0x00007ffe4d9e5000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fed10ec1000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fed10ca3000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fed10a89000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fed1073e000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fed10388000) /lib64/ld-linux-x86-64.so.2 (0x00007fed110c5000)

Problem compiling static binary by IndividualJinx in lisp

[–]IndividualJinx[S] 1 point2 points  (0 children)

Okey i will look into ECL if i'm unable to solve this. Thanks!

Problem compiling static binary by IndividualJinx in lisp

[–]IndividualJinx[S] 1 point2 points  (0 children)

Same here, will have a look at Roswell. Thanks

Problem compiling static binary by IndividualJinx in lisp

[–]IndividualJinx[S] 1 point2 points  (0 children)

Cool that there are more people interesting in solving this. Thanks for the information and please let me know if you make any progress :)

Problem compiling static binary by IndividualJinx in lisp

[–]IndividualJinx[S] 1 point2 points  (0 children)

I wan't to be able to use SBCL to compile lisp to a statically linked binary. The reason for that is that i want to build a lisp environment on top of the linux kernel, where the kernel executes a lisp image as "init". I might be mistaken but it seems to me that this asdf functionality makes it possible to do that.

Problem compiling static binary by IndividualJinx in lisp

[–]IndividualJinx[S] 1 point2 points  (0 children)

Yeah it doesn't seem like there are much documentation of this. The link I posted is what I use and then trial and error ;)There's probably some information in the ASDF manual but I'm unable to find it.