Skip to content

Build script of BusyBox for WebAssembly (wasm) using Emscripten

Notifications You must be signed in to change notification settings

vadimkantorov/busyboxnanozipdiff3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BusyBox + Emscripten + nanozip + diff3

Inspired by https://github.com/tbfleming/em-busybox and https://github.com/tbfleming/em-shell, this repo contains build script of BusyBox for WebAssembly without being a full fork of BusyBox, so upgrading to a new version of BusyBox is easier.

In addition to BusyBox build script, this repo also contains two custom BusyBox applets:

  • nanozip - miniz-based imitation of zip utility: busybox nanozip [-r] [[-x EXCLUDED_PATH] ...] OUTPUT_NAME.zip INPUT_PATH [...].
  • diff3 - OpenBSD-based implementation of diff3: busybox diff3 [-exEX3] /tmp/d3a.?????????? /tmp/d3b.?????????? file1 file2 file3

em-shell.c, em-shell.h, em-shell.js, arch/em/Makefile are taken from excellent tbfleming/em-shell and tbfleming/em-busybox by Todd Fleming.

Patches not used for now:

# native version 
make build/native/busybox

# wasm version
make build/wasm/busybox_unstripped.js

About

Build script of BusyBox for WebAssembly (wasm) using Emscripten

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published