How to compile static racket binaries

619 views Asked by At

raco exe makes dynamic executables, and raco distribute doesn't change that:

$ ldd ./tst                            
        linux-vdso.so.1 (0x00007ffc9ed46000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbeb4c09000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbeb4a18000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fbeb4c67000)

On windows, it looks like one can --embed-dlls, which is kindof what I want, but for all platforms.

I'd like to compile statically for ease of distribution and deployment. Is this possible?

0

There are 0 answers