Comment

Comment by _gmkt

Nice snug self-contained binary with no dependencies :D

  qjsc -e -o file.c file.js
  cc -static -L /usr/local/lib/quickjs -I /usr/local/include/quickjs -o filejs file.c -lquickjs -lm -lpthread
  errno ~/Downloads $: ldd filejs
  filejs:
        Start            End              Type  Open Ref GrpRef Name
        0000063faca58000 0000063facbaa000 dlib  1    0   0      /home/errno/Downloads/filejs
parent _gmkt 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton