Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidar authored May 18, 2024
1 parent 53b8170 commit 87da61a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ A comprehensive POSIX userspace, including a C compiler, in a single tiny (<1MB)

- **Self-hosting:** *boot*sh can compile itself from source, thanks to its builtin `cc` command which implements a full C99 compiler.

- **Tiny:** *boot*sh can be compiled into a single 620KiB binary executable in less than 5 seconds.
- **Tiny:** *boot*sh can be compiled into a single ~600KB binary executable in under 10 seconds. With [UPX](https://upx.github.io/) it can be reduced to half that size.

With [UPX](https://upx.github.io/) it can be compressed down to a 305KiB executable.
## Build

Just run `./configure && make -j$(nproc)`

## Usage

A [Docker image](https://hub.docker.com/r/davidar/bootsh/tags) is provided to demonstrate how *boot*sh can be used.
A [Docker image](https://hub.docker.com/r/davidar/bootsh/tags) is provided to demonstrate how *boot*sh can be used in a self-contained environment.

```sh
docker run --rm -it davidar/bootsh
Expand Down

0 comments on commit 87da61a

Please sign in to comment.