quickjs icon indicating copy to clipboard operation
quickjs copied to clipboard

Static linked binary generation

Open nv08 opened this issue 1 year ago • 1 comments

Does anyone have created a static linked binary using qjsc ? Please guide me to the command if possible. Currently using qjsc -o out main.js generating file of type :- out: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=284156e75cf2df70bff9cfbf085f251c76beb7d3, for GNU/Linux 3.2.0, with debug_info, not stripped

nv08 avatar Aug 27 '24 19:08 nv08

If your main target is linux, you can check https://github.com/ctn-malone/quickjs-cross-compiler which does just that

ctn-malone avatar Sep 04 '24 22:09 ctn-malone