pack-newlisp, utility for embedding

Q&A's, tips, howto's
Locked
ralph.ronnquist
Posts: 228
Joined: Mon Jun 02, 2014 1:40 am
Location: Melbourne, Australia

pack-newlisp, utility for embedding

Post by ralph.ronnquist »

Yet another embedding approach; now using tar for the application.

Code: Select all

** 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:

Code: Select all

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.

ralph.ronnquist
Posts: 228
Joined: Mon Jun 02, 2014 1:40 am
Location: Melbourne, Australia

Re: pack-newlisp, utility for embedding

Post by ralph.ronnquist »

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

Code: Select all

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.

Locked