pack-newlisp, utility for embedding

Started by rrq, March 11, 2016, 04:29:58 PM

Previous topic - Next topic

rrq

Yet another embedding approach; now using tar for the application.
** pack-newlisp version 1.1. Utility for managing self executable newlisp tar.

Usage 1: pack-newlisp p <filename> <architecture> <tar data arguments>
  Pack an application for the given architecture (`uname -m`) into the
  given filename. The <tar data arguments> nominates the files and
  directories to include as per the `tar` program.

Usage 2: pack-newlisp u <filename>
  Unpack a pack application by separating out the included files as a
  compressed tar named <filename>.tgz


The attached bundle is for building your own pack-newlisp binary, which indeed is a pack-newlisp embedding in itself. It's a mixture of newlisp code, a Makefile, and documentation.



EDIT: new version that packs for defined architectures. (You'll need to make a "head" for the target architecture, and include in your pack-newlisp)



EDIT 2: new version after bug fixing. This is hopefully the final of version 1.x series.

(not too overwhelming interest though)



EDIT3: I removed the attachment here, and rather made the software available at github:
git clone https://github.com/ralph-ronnquist/pack-newlisp.git
If you happen to use it and in particular prepare a new head file, then please add it to the bundle. Right now it only includes "head files" for Linux i686, Linux x86_64 and Windows XP.

rrq

#1
I removed the attachment, and rather made the software available at github:


git clone https://github.com/ralph-ronnquist/pack-newlisp.git
If you happen to use it and in particular prepare a new head file, then please add it to the bundle. Right now it only includes "head files" for Linux i686, Linux x86_64 and Windows XP.