mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 10:50:28 +00:00
Add note about APE loader location
This commit is contained in:
parent
f6b3019796
commit
cab8a67059
1 changed files with 6 additions and 3 deletions
|
@ -57,9 +57,12 @@ sudo sh -c 'echo -1 >/proc/sys/fs/binfmt_misc/status'
|
|||
|
||||
Since we used the `ape-no-modify-self.o` bootloader (rather than
|
||||
`ape.o`) your executable will not modify itself when it's run. What
|
||||
it'll instead do, is extract a 4kb program to `${TMPDIR:-${HOME:-.}}`
|
||||
that maps your program into memory without needing to copy it. It's
|
||||
possible to install the APE loader systemwide as follows.
|
||||
it'll instead do, is extract a 4kb program (the [APE loader](https://justine.lol/apeloader/)) to
|
||||
`${TMPDIR:-${HOME:-.}}` that maps your program into memory without
|
||||
needing to copy it. The APE loader must be in an executable location (e.g. not
|
||||
stored on a `noexec` mount) for it to run. See below for alternatives:
|
||||
|
||||
It's possible to install the APE loader systemwide as follows.
|
||||
|
||||
```sh
|
||||
# System-Wide APE Install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue